sub
sub element
Indicates a substitution for pronunciation of the contained text. This allows a document to contain both a spoken and written form.
Syntax
<sub
alias = "string"
/>
Attributes
alias |
Specifies the string to be used for pronunciation in place of the enclosed string. |
Parents
audio, emphasis, enumerate, foreach, p element, prompt, prosody, s element, voice
Children
None.
Examples
When the following example is executed, the TTS engine reads back "World Wide Web".
<vxml version="2.0"
xmlns="http://www.w3.org/2001/vxml"
>
<form>
<block>
<prompt>
<sub alias="World Wide Web">WWW</sub>
</prompt>
</block>
</form>
</vxml>