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.46. rule

Element typerule
Attributesid | scope
Parentsgrammar
Childrenexample | item | one-of | ruleref | tag | token
DescriptionDefines a grammar rule by associating a rule expansion with an identifier.

DTD

<!ELEMENT rule (%rule-expansion; | example | tag)* >
<!ATTLIST rule
  id    ID                 #REQUIRED
  scope (private | public) "private" >

Language model

Attributes

id : ID

A unique identifier for this rule. It is used to refer to this rule from ruleref or grammar elements.

scope : (public | private) = private

Indicates the visibility of this rule. If this attribute is set to private, this rule is only visible within the grammar element in which it is defined. ...

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