W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2002

The mark tag My comment on SSML working draft 5 April 2002.

From: Stijn \ <Stijn.Vandamme@rug.ac.be>
Date: Thu, 11 Apr 2002 10:05:20 -0400 (EDT)
To: <www-voice@w3.org>
Message-ID: <Pine.GSO.4.31.0204111603280.20630-100000@eduserv.rug.ac.be>
Hello,

Why does the SSML need a mark-tag with name-attribute to place a marker
into the text/tag sequence and contain text that is used to reference a
special sequence of tags and text, either for internal reference within
the SSML document, or externally by another document?

Can some-one explain to me why this can't be done with an id-attribute in
an arbitrary tag, like in many other XML specifications (e.g. XHTML)?

If no the text that should be referenced is not enclosed in a tag yet, I
suggest using a span-tag, for consistency with XHTML.

I give an example:

<?xml version="1.0" encoding="ISO-8859-1"?>
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"
 xml:lang="en-US">
   <p id="marks">
      <s>
         We would like
         <span id="congrats">
            to extend our warmest congratulations
         </span>
         to the members of the Voice Browser Working Group!
      </s>
      <s id="really">
         Really, we would.
      </s>
   </p>
   <p>
      <s>
         Go from <span id="here" /> here, to <span id="there" /> there!
      </s>
   <p>
</speak>

Herein, a full paragraph, a part of a sentence, a full sentence and two
"moments" are marked, using an id-attribute in a p-tag or an s-tag when
available, and in a span-tag otherwise.

Just my question and comment.

Adhemar.
Received on Thursday, 11 April 2002 12:31:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:48:55 GMT