<vxml>

<vxml>

The outermost tag within a VoiceXML document.

Attributes

NameData typeDescription

application

String

The URI of this document's application root document, if any.

xml:base

String

The base URI for this document. As in HTML, a URI that all relative references within the document take as their base.

xml:lang

String

(defaults to “en_us”) The language identifier for this document.

xmlns

String

(defaults to “http://www.w3.org/2001/vxml”) The designated namespace for VoiceXML. This attribute is disregarded by the platform.

version

String

The version of VoiceXML of this document (required). Only “2.0” is supported, though certain “1.0” tags are still processed.

Notes

None

Example

<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <block>
      <prompt>
        This is a basic script.
      </prompt>
    </block>
  </form>
</vxml>

The output of the above script would be:

Computer: This is a basic script.

Child Tags

<catch>, <data>, <help>, <noinput>, <nomatch>, <error>, <form>, <link>, <menu>, <metadata>, <property>, <script>, <var>

Parent Tags

None

Last updated