Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== < vxml > ====== ===== Description ===== The < vxml > element identifies a VoiceXML document (the xml root element). ===== Syntax ===== <code> <vxml version="Version" base="URI" xml:lang="Language" application="URI" /> </code> ===== Attributes ===== |version|The version attribute specifies the VoiceXML version number. The current version is 2.0. This attribute is required.| |xmlns|The xmlns attribute is the namespace for VoiceXML, and must be http://www.w3.org/2001.vxml. This attribute is required.| |base|The base attribute is the base URI of this document. Relative references in this document use this URI as the base URI. This attribute is optional.| |xml:lang|The xml:lang attribute is the language and locale type for this document. This attribute is optional and defaults to en-US.| |application|The application attribute is the URI of this document's application root document. If the root document cannot be found or the root document has a reference to another root document, an error.semantic event is thrown. This attribute is optional.| ===== Parents ===== <code> None. </code> ===== Children ===== <code> <catch>, <error>, <form>, <help>, <link>, <menu>, <meta>, <noinput>, <nomatch>, <property>, <script>, <var> </code> ===== Extensions ===== <code> None. </code> ===== Limitations/Restrictions ===== <code> None. </code> ===== Example Code ===== <code> <?xml version="1.0"?> <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"> <form> <field name="hello"> <grammar>hello | goodbye</grammar> <help>Just say hello</prompt> <prompt>Say hello</prompt> <noinput>Say something</noinput> <filled> <prompt>Hello, world!</prompt> </filled> </field> </form> </vxml> </code> legacy/vxi_developer_guide/voicexml_references/elements/vxml.txt Last modified: 2017/07/28 23:53by javier