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>

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"
   <p id="marks">
         We would like
         <span id="congrats">
            to extend our warmest congratulations
         to the members of the Voice Browser Working Group!
      <s id="really">
         Really, we would.
         Go from <span id="here" /> here, to <span id="there" /> there!

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.

Received on Thursday, 11 April 2002 12:31:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:03:46 UTC