New in VoiceXML 2.0. XML grammar input element that specifies actual words to be spoken or DTMF keys to be pressed.
<token
xml:lang="lang"
>
Content
</token>
This tag is used to define grammars in the XML form of the W3C Speech Recognition Grammar Format.
In a voice grammar, a token is consists of CDATA and cannot be enclosed in double quotes. In a DTMF grammar, a token must be one of the following characters:
0 1 2 3 4 5 6 7 8 9 * # A B C D
| Parents | Children |
|
| | Speech Recognition Grammar Specification: <token> |
| | Chapter 4, XML Speech Grammar Format in the Grammar Reference |
<rule id="trigger"> <ruleref special="GARBAGE"/> <token>Trigger Fish</token> </rule> <rule id="affirmative"> <token>yes</token> <token xml:lang="es">si</token> </rule>
| Café Home |
Developer Agreement |
Privacy Policy |
Site Map |
Terms & Conditions Part No. 520-0001-02 | © 1999-2007, BeVocal, Inc. All rights reserved | 1.877.33.VOCAL |