Ruleref

Ruleref

in

New to VoiceXML 2.0, a ruleref tag can reference another defined rule within the same local grammar. The tag is used to define grammars in the XML of the W3C speech recognition grammar format. The referenced rule specifies user input to be matched. If the user input matches the referenced rule, any contained <tag> elements are interpreted to assign values to input variables. It is possible to refer to a rule from within another rule either in the same or a different grammar definition. The uri attribute specifies a local rule reference. The local rule identifier should be preceded by a # symbol. The type attribute indicates the MIME type of the grammar. The referenced special rule must be set to either null or void. Developers must provide uri or special, but not both. The xml:lang attribute is the language identifying property.

Related links

Search Glossary

Term of the Day

The application.lastresult$[i].utterance indicates the raw string of words that were recognized in an interpretation.
See also: Application, DTMF, Variable