<vxml>

<vxml>

The outermost tag within a VoiceXML document.

Attributes

Name
Data type
Description

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

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