Home > Articles > Web Services > XML

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

3.28 mark

Element type

mark

Attributes

name

Parents

audio | choice | emphasis | enumerate | menu | paragraph | prompt | prosody | sentence | voice

Children

None.

Description

Places a marker into the output stream for asynchronous notification. When the TTS processor reaches this marker it will throw an asynchronous event referencing the given name. This can be used for platform-specific pause/resume capabilities.

DTD

<!ELEMENT mark EMPTY >
<!ATTLIST mark
  name CDATA #REQUIRED >

Language model

03fig28.gif

Attributes

  • name : CDATA

    Associates a name with this element.

Children

None.

Examples

Example 3-32 Using mark to throw an asynchronous event

<?xml version="1.0" encoding="iso-8859-1"?>
<vxml version="2.0">
  <form id="audiotest">
    <block>
      <prompt>
        Now turn to page 253.
        <mark name="pause"/>
        As you can see in equation 1, this system of equations
        is non-homogeneous.
      </prompt>
    </block>
  </form>
</vxml>
  • + Share This
  • 🔖 Save To Your Account