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.55. token

Element typetoken
Attributeslexicon | xml:lang
Parentscount | item | rule
ChildrenPCDATA
DescriptionA token encapsulates one or more words. These words are typically written using plain text.

DTD

<!ELEMENT token (#PCDATA) >
<!ATTLIST token
  lexicon  CDATA   #IMPLIED
  xml:lang NMTOKEN #IMPLIED >

Language model

Attributes

lexicon : CDATA

Specifies a lexicon document to be used to represent this token phonetically.

xml:lang : NMTOKEN

Specifies the spoken language used with this element - for example, en-US for US English.

Children

PCDATA

The word or words that comprise this token.

Examples

Example 3-66. A token definition within a grammar
 <?xml ...

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