3.37 paragraph
Element type |
paragraph | p |
Attributes |
xml:lang |
Parents |
audio | choice | enumerate | menu | paragraph | prompt | prosody | sentence | voice |
Children |
PCDATA | audio | break | emphasis | enumerate | mark | phoneme | prosody | say-as | sentence | value | voice |
Description |
Indicates 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>