New in VoiceXML 2.0. XML grammar element with an example phrase that matches the containing grammar rule.
<example>
Example Input
</example>
This tag is used to define a grammar in the XML form of the W3C Speech Recognition Grammar Format.
An <example> element encloses a sequence of tokens corresponding to user input that matches the containing rule. It is illustrative, for the benefit of a developer reading the grammar; the speech-recognition engine ignores the element.
| Parents | Children |
|
| | Speech Recognition Grammar Specification: <example> |
| | Chapter 4, XML Speech Grammar Format in the Grammar Reference. |
<rule id="snapper" scope="public"> <!-- matches several common varieties of snapper, such as --> <example>red snapper</example> <example>mutton snapper</example> <ruleref uri="#snapperType"/> <token>Snapper</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 |