Any number of "example" elements may be provided as the initial content within a "rule" element. The content of this element is disregarded by the parser.
| None |
For examples and usage information, please refer to the Speech Recognition Grammar Specification.
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<grammar type="application/srgs+xml" root="ROOT" mode="voice">
<rule id="ROOT">
<example> feed the dog </example>
<example> scratch the cat </example>
<one-of>
<item>
Dog
</item>
<item>
Cat
</item>
</one-of>
</rule>
</grammar>
<initial>
<prompt>
Say either dog or cat.
</prompt>
</initial>
</form>
</vxml>The output of the above script would be:
There is no output from this example since the
None