< vxml >

The < vxml > element identifies a VoiceXML document (the xml root element).

application="URI" />
versionThe version attribute specifies the VoiceXML version number. The current version is 2.0. This attribute is required.
xmlnsThe xmlns attribute is the namespace for VoiceXML, and must be http://www.w3.org/2001.vxml. This attribute is required.
baseThe 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:langThe xml:lang attribute is the language and locale type for this document. This attribute is optional and defaults to en-US.
applicationThe 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.
<catch>, <error>, <form>, <help>, <link>, <menu>, <meta>, <noinput>, <nomatch>, <property>, <script>, <var>
<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
  <field name="hello">
   <grammar>hello | goodbye</grammar>
   <help>Just say hello</prompt>
   <prompt>Say hello</prompt>
   <noinput>Say something</noinput>
    <prompt>Hello, world!</prompt>