<ruleref>
<ruleref>
A <ruleref>
tag can reference another defined rule within the same local grammar.
Attributes
Name
Data type
Description
uri
String
Specifies a local rule reference. Precede each reference with “#” (e.g., "#month", "#day").
type
This attribute is not supported.
special
String
Can be set to either “null” or “void”.
xml:lang
String
Notes
For examples and usage information, please refer to the Speech Recognition Grammar Specification.
Example
The output of the above script would be:
Computer: Please say a date. Human: June second. Computer: I think you said month June day second.
Child Tags
None
Parent Tags
Last updated