Voxeo Documentation - <token> Element

The <token> element defines a word or phrases that may be spoken by the caller in an XML grammar . A token may contain whitespace, and may contain uppercase characters. Any token containing whitespace is further broken into individual words by the voice browser .

GrXML also allows for capital letters in a token. However, for dictionary lookups and auto-pronunciation, capital letters are converted to lowercase as part of the compilation process. Separate pronunciations for the same word written with different cases is disallowed.

Syntax

The following code example shows the syntax for the <token> element.

<token xml:lang="myXmlLangCDATA">

Attribute Details

The following table describes the attributes for the <token> element.

xml:lang

Required: false

Type: CDATA

Default: en-us

Specifies the language and locale information of the element. If omitted, this value is inherited from the document hierarchy, or ultimately from the platform default. The Prophecy platform default is en-us.

Shadow Variables

None.

Parents

<item> <rule>

Children

None.

Code Samples

None.

See Also

VoiceXML Development Guide v2.1 Overview

Element Summary

Voxeo Support

 

The <token> element defines a word or phrases that may be spoken by the caller in an XML grammar. For more information, see <token> Element.

 

Extensible markup language is the universal format for structured documents and data on the web. The acronym for extensible markup language is XML. XML is a set of rules, or formatting, for encoding documents in a machine-readable form.

 

The set of valid utterances recognized by the speech recognition system in a voice application. Grammars are commonly specified using symbolic notation which describes context-free grammars.

 

A token, or token ID, is a string of alphanumeric text that represents the Address to your application, or security privileges, such as an outbound dialing token. Tokens are used in conjunction with token-initiated calls, usually from a link on a web page, or some external script that generates a call into the Prophecy platform. For more information, see Outbound Dialing Tokens in the Evolution Developer Portal Guide.

 

A voice browser is the instance of an interaction unit that handles speech application input and output. It does not include any dialog processing capabilities. VoiceXML interpreters are often called voice browsers.

 

The <token> element defines a word or phrases that may be spoken by the caller in an XML grammar. For more information, see <token> Element.

 

The <token> element defines a word or phrases that may be spoken by the caller in an XML grammar. For more information, see <token> Element.

 

The <item> element defines a valid utterance match within an XML grammar. For more information, see <item> Element.

 

The <rule> element defines the named rule expansion of an XML grammar. For more information, see <rule> Element.

Voxeo Documentation

     Voxeo Documentation Overview
  Evolution Developer Portal Documentation
  Voxeo CXP Documentation
  Prophecy Documentation
  XML Development Languages Documentation
  VoiceXML 2.1 Development Guide
     VoiceXML Development Guide v2.1 Overview
     Platform Overview
     Creating an Application
     Voxeo File Manager
     Caching Tips and Techniques
     Cache Manager API
     Security Information
  Learning VoiceXML 2.1
  Best Practices
  Debugging Techniques
  Exceptions and Errors
  VoiceXML 2.1 Porting Guide
  VoiceXML Variables
  All Things Audio
  Outbound Dialing
  Property Guide
  GSL Grammars
  grXML Grammars
     Custom Features
     External References
  Text-To-Speech Guide
     VoIP Dialing
     Voxeo Designer User Interface
  Element Reference Guide
     Element Summary
     <assign> Element
     <audio> Element
     <block> Element
     <break> Element
     <catch> Element
     <choice> Element
     <clear> Element
     <data> Element
     <disconnect> Element
     <else> Element
     <elseif> Element
     <emphasis> Element
     <enumerate> Element
     <error> Element
     <example> Element
     <exit> Element
     <field> Element
     <filled> Element
     <foreach> Element
     <form> Element
     <goto> Element
     <grammar> Element
     <help> Element
     <if> Element
     <initial> Element
     <item> Element
     <link> Element
     <log> Element
     <mark> Element
     <media> Element
     <menu> Element
     <meta> Element
     <noinput> Element
     <nomatch> Element
     <one-of> Element
     <option> Element
     <paragraph> Element
     <param> Element
     <phoneme> Element
     <prompt> Element
     <property> Element
     <prosody> Element
     <record> Element
     <reprompt> Element
     <return> Element
     <rule> Element
     <ruleref> Element
     <say-as> Element
     <script> Element
     <sentence> Element
     <sub> Element
     <subdialog> Element
     <submit> Element
     <tag> Element
     <throw> Element
     <token> Element
     <transfer> Element
     <value> Element
     <var> Element
     <voxeo:logcontrol> Element
     <voxeo:recordcall> Element
     <vxml> Element
  CCXML 1.0 Development Guide
  CallXML 3.0 Development Guide
  Voxeo Support
     Support Quick Reference
  Registering for an Account
  Self-Help Tools
  Collecting Information
  Evolution Ticketing System
     Submitting a Support Request
     Escalating a Support Request
  Software Lifecycle and Support Policies
  Getting Further Assistance
  Voxeo Glossary
  Help on Help