Element type | token |
Attributes | lexicon | xml:lang |
Parents | count | item | rule |
Children | PCDATA |
Description | A token encapsulates one or more words. These words are typically written using plain text. |
<!ELEMENT token (#PCDATA) > <!ATTLIST token lexicon CDATA #IMPLIED xml:lang NMTOKEN #IMPLIED >
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.
PCDATA
The word or words that comprise this token.
<?xml version="1.0" encoding="iso-8859-1"?> <vxml version="2.0"> <form id="test"> <field name="city"> <prompt>Which city?</prompt> <grammar xml:lang="en-US" version="1.0" root="city"> <rule id="city" scope="public"> <one-of> <item><token>New York City</token></item> <item><token>Los Angeles</token></item> </one-of> </rule> </grammar> <filled> <prompt> You said <value expr="city"/>. </prompt> </filled> </field> </form> </vxml> |
3.16.164.142