<vxml>

Description

Identifies a VoiceXML document.

Syntax

<vxml
    version="version"
    xmlns="http://www.w3.org/2001/vxml"
    xml:base="URI"
    xml:lang="language"
    application="URI" >
  child elements
</vxml>

Attributes

Attribute

Description

version

Specifies the VoiceXML version number.  The platform supports 2.0 and 2.1.

xmlns

The VoiceXML specification requires the use of this attribute (set to http://www.w3.org/2001/vxml) to designate the namespace for VoiceXML.

xml:base

The base URI of this document.  Relative references in this document use this URI as the base URI.  Optional.

xml:lang

The language identifier for this document.  Used as the language for implicit grammars (i.e. universal grammars, and <choice>/<option> grammars*), multi-language grammars, and prompts.  Optional. (Default value is platform-specific.)

application

The URI of this document's application root document.  Optional.

Attribute Notes

Parents

None

Children

Catch Data Error Form Help Link Menu Meta Noinput Nomatch Property Script Var

VoiceGenie Extensions

None

Limitations/Restrictions

None

Example

<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
  <form>
    <block>
      Hello, world!
    </block>
  </form>
</vxml>