Element type | sentence | s |
Attributes | xml:lang |
Parents | audio | choice | emphasis | enumerate | menu | paragraph | prompt | prosody | sentence | voice |
Children | PCDATA | audio | break | enumerate | mark | paragraph | phoneme | prosody | say-as | value | voice |
Description | Logically groups the contents of this element as a sentence. |
<!ELEMENT sentence (%allowed-within-sentence;)* > <!ATTLIST sentence xml:lang NMTOKEN #IMPLIED >
xml:lang : NMTOKEN
Specifies the spoken language used with this element - for example, en-US for US English.
PCDATA, audible, and tts content to be 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> |
18.223.196.146