O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.20. grammar

Element typegrammar
Attributesfetchhint | fetchtimeout | maxage (2.0) | maxstale (2.0) | root (2.0) | scope | src | type | version (2.0) | weight (2.0) | xml:lang (2.0)
Parentschoice | field | form | link | record | transfer
ChildrenPCDATA | rule | possibly other proprietary grammar elements
DescriptionDefines the rules used to convert a user's utterances or user generated tones into string-valued variables that can be used in VoiceXML applications.

Language model

DTD

<!ELEMENT grammar (#PCDATA | rule)* >
<!ATTLIST grammar
  %grammar.attrs; >

Attributes

fetchhint : (prefetch | safe)

Indicates whether the interpreter may prefetch the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required