3.50. sentence

Element typesentence | s
Attributesxml:lang
Parentsaudio | choice | emphasis | enumerate | menu | paragraph | prompt | prosody | sentence | voice
ChildrenPCDATA | audio | break | enumerate | mark | paragraph | phoneme | prosody | say-as | value | voice
DescriptionLogically groups the contents of this element as a sentence.

Language model



DTD

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

Attributes

xml:lang : NMTOKEN

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

Children

PCDATA, audible, and tts content to be organized as a sentence.

Examples

Example 3-61. Various audio content organized as a sentence
<?xml version="1.0" encoding="iso-8859-1"?>
<vxml version="2.0">
  <form id="test">
    <block>
      <var name="word" expr="'variable values'"/>
      <prompt>
        <paragraph> 
          <sentence>
            This sentence will be read using text-to-speech.
          </sentence>
          <sentence>
            A sentence may also contain <audio src="audio.wav"/> 
            as well as <emphasis>other</emphasis> speech mark-up and
            <value expr="word"/>.
          </sentence>
        </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
18.191.5.166