# \<vxml>

## \<vxml> <a href="#vxml" id="vxml"></a>

The outermost tag within a VoiceXML document.

### Attributes

<table><thead><tr><th width="200">Name</th><th width="162.33333333333331">Data type<select><option value="c70f1aca9e804a258bdced76596f6592" label="String" color="blue"></option><option value="b9e423eb155846bb9c9845a8b3bc0f89" label="Integer" color="blue"></option><option value="4cdc3dc510784f4d8d5a44a93a8aea71" label="Boolean" color="blue"></option></select></th><th>Description</th></tr></thead><tbody><tr><td>application</td><td><span data-option="c70f1aca9e804a258bdced76596f6592">String</span></td><td>The URI of this document's application root document, if any.</td></tr><tr><td>xml:base</td><td><span data-option="c70f1aca9e804a258bdced76596f6592">String</span></td><td>The base URI for this document. As in HTML, a URI that all relative references within the document take as their base.</td></tr><tr><td>xml:lang</td><td><span data-option="c70f1aca9e804a258bdced76596f6592">String</span></td><td>(defaults to “en_us”) The language identifier for this document.</td></tr><tr><td>xmlns</td><td><span data-option="c70f1aca9e804a258bdced76596f6592">String</span></td><td>(defaults to “<a href="http://www.w3.org/2001/vxml">http://www.w3.org/2001/vxml</a>”) The designated namespace for VoiceXML. This attribute is disregarded by the platform.</td></tr><tr><td>version</td><td><span data-option="c70f1aca9e804a258bdced76596f6592">String</span></td><td>The version of VoiceXML of this document (required). Only “2.0” is supported, though certain “1.0” tags are still processed.</td></tr></tbody></table>

### Notes

None

### Example

```markup
<?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>](/dev/voicexml/tags/catch-tag.md), [\<data>](/dev/voicexml/tags/data-tag.md), [\<help>](/dev/voicexml/tags/help-tag.md), [\<noinput>](/dev/voicexml/tags/noinput-tag.md), [\<nomatch>](/dev/voicexml/tags/nomatch-tag.md), [\<error>](/dev/voicexml/tags/error-tag.md), [\<form>](/dev/voicexml/tags/form-tag.md), [\<link>](/dev/voicexml/tags/link-tag.md), [\<menu>](/dev/voicexml/tags/menu-tag.md), [\<metadata>](/dev/voicexml/tags/metadata-tag.md), [\<property>](/dev/voicexml/tags/property-tag.md), [\<script>](/dev/voicexml/tags/script-tag.md), [\<var>](/dev/voicexml/tags/var-tag.md)

### Parent Tags

None


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/dev/voicexml/tags/vxml-tag.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
