sub

Indicates a substitution for pronunciation of the contained text. This allows a document to contain both a spoken and written form.

<sub
alias = "string"
/>

alias

Specifies the string to be used for pronunciation in place of the enclosed string.

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>


Community Additions

ADD
Show: