Identifies a VoiceXML document.
<vxml
version="version"
xmlns="http://www.w3.org/2001/vxml"
xml:base="URI"
xml:lang="language"
application="URI" >
child elements
</vxml>
|
|
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 |
|
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 |
|
application |
The URI of this document's application root document. Optional. |
version or xmlns when they are required will result in an error.badfetch being thrown.error.badfetch event will be thrown if version is not either 2.0 or 2.1.application cannot be found, or if the root document refers to another root document, an error.badfetch event is thrown.None
Catch Data Error Form Help Link Menu Meta Noinput Nomatch Property Script Var
None
None
<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<form>
<block>
Hello, world!
</block>
</form>
</vxml>
|