Elements
The following table includes all VoiceXML 2.0 and 2.1 tag elements supported by the Vxi VoiceXML interpreter:
| Element | Description | Supported |
|---|---|---|
| < assign > | Assigns a value to a variable. | yes |
| < audio > | Plays an audio file to a user. | yes |
| < block > | Allows execution of code within this item. | yes |
| < catch > | Handles (or catches) events. | yes |
| < choice > | Provides definition of a menu. | yes |
| < clear > | Clears or resets form items (form fields). | yes |
| < data > | Programmatic access to data in XML format from an HTTP server | yes |
| < disconnect > | Terminates application and hang up. | yes |
| < else > | Conditional code, associated with <if>. | yes |
| < elseif > | Conditional code, associated with <if>. | yes |
| < enumerate > | Builds choice list. | yes |
| < error > | Catches error event. | yes |
| < exit > | Terminates application but keeps port alive. | yes |
| < field > | Collects user input. | yes |
| < filled > | Defines code when user input is complete. | yes |
| < foreach > | Iterates through an ECMAScript array of items. | yes |
| < form > | Defines dialog for collecting user input. | yes |
| < goto > | Jumps to another dialog. | yes |
| < grammar > | Defines DTMF user input rules. | yes |
| < help > | Catches help event. | yes |
| < if > | Defines conditional code. | yes |
| < initial > | Defines prompt for initial form level input. | yes |
| < link > | Defines URL to go to when a choice is made. | yes |
| < log > | Output debug message. | yes |
| < menu > | Dialog for selecting from fixed choices. | yes |
| < meta > | Defines page information. | yes |
| < metadata > | Defines page information. | no |
| < noinput > | Catches a user input timeout event. | yes |
| < nomatch > | Catches an invalid user input event. | yes |
| < object > | Executes an extension function. | yes |
| < option > | Defines a field selection. | yes |
| < param > | Defines parameter to subdialog or object. | yes |
| < prompt > | Defines output to be played to user. | yes |
| < property > | Allows internal setting to be configured. | yes |
| < record > | Makes user audio recording to the file. | yes |
| < reprompt > | Re-asks for user input after prompting. | yes |
| < return > | Return from a subdialog. | yes |
| < script > | Executes ECMAScript (javascript) code. | yes |
| < subdialog > | Invokes another dialog and then returns. | yes |
| < submit > | Sends application values and gets new doc. | yes |
| < throw > | Generates an event to be handled by catch. | yes |
| < transfer> | Enable to transfer a call with several modes. | yes |
| < value > | Inserts value of variable into text. | yes |
| < var > | Declares a variable. | yes |
| < vxml > | Defines root element of document. | yes |