This is an old revision of the document!
The outermost tag within a VoiceXML document.
|application||The URI of this document's application root document, if any.|
|xml:base||The base URI for this document. As in HTML, a URI that all relative references within the document take as their base.|
|xml:lang||(defaults to “en_us”) The language identifier for this document.|
|xmlns||(defaults to “http://www.w3.org/2001/vxml”) The designated namespace for VoiceXML. This attribute is disregarded by the platform.|
|version||The version of VoiceXML of this document (required). Only “2.0” is supported, though certain “1.0” tags are still processed.|
<?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.