Home > Articles > Web Services > XML

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

This chapter is from the book

3.4 break

Element type

break

Attributes

size | time

Parents

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

Children

None.

Description

Inserts a silent interval in a text-to-speech rendering.

DTD

<!ELEMENT break EMPTY >
<!ATTLIST break
  size (large | medium | small | none) 'medium'
  time %duration;                      #IMPLIED >

Language model


03mod04.gif


Attributes

size : ( large | medium | small | none) = medium

Indicates the length of the break using semantic language.

time : duration

Indicates the length of the break.

Children

None.

Examples

Example 3-6 Using break elements to create a countdown

<?xml version="1.0" encoding="iso-8859-1"?>
<vxml version="2.0">
  <form id="audiotest">
    <block>
      <prompt>Wait a moment <break size="large"/>
        three <break time="1000ms"/>
        two <break time="1000ms"/>
        one <break time="1000ms"/>
        blast off!</prompt>
    </block>
  </form>
</vxml>
  • + Share This
  • 🔖 Save To Your Account