sub element
VoiceXML 2.0
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, prompt, prosody, s, voice

Children
None.

Examples

When the following example is executed, the TTS engine reads back "World Wide Web".

<vxml version="2.1" 
  xmlns="http://www.w3.org/2001/vxml"
>
  <form>
    <block>
      <prompt>
        <sub alias="World Wide Web">WWW</sub> 
      </prompt>
    </block>
  </form>
</vxml>



[24]7 Inc.| Terms of Service| Privacy Policy| General Disclaimers