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

Get Definitive VoiceXML™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.