3.37. paragraph

Element typeparagraph | p
Attributesxml:lang
Parentsaudio | choice | enumerate | menu | paragraph | prompt | prosody | sentence | voice
ChildrenPCDATA | audio | break | emphasis | enumerate | mark | phoneme | prosody | say-as | sentence | value | voice
DescriptionIndicates that the contained block of text-to-speech content should be treated as a paragraph.

DTD

<!ELEMENT paragraph (%allowed-within-sentence; | sentence | s)* >
<!ATTLIST paragraph
  xml:lang NMTOKEN #IMPLIED >

Language model



Attributes

xml:lang : NMTOKEN

Specifies the spoken language used with this element - for example, en-US for US English.

Children

audible and sentence-elements

The content to be organized as a paragraph.

Examples

Example 3-43. A paragraph containing both audio and tts
<?xml version="1.0" encoding="iso-8859-1"?>
<vxml version="2.0">
  <form id="test">
    <block>
      <prompt>
        <paragraph>This paragraph will be read using text-to-speech.  
        A paragraph may also contain <audio src="audio.wav"/> 
        as well as <emphasis>other</emphasis> speech mark-up and 
        <value expr="word"/>.</paragraph>
      </prompt>
    </block>
  </form>
</vxml>

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.2.34