| VoiceXML 2.1 Development Guide | Home | Frameset Home |
|
<vxml> declaration. The Prophecy VoiceXML browser is more flexible in this regard, so there is actually no need to explicitly declare a DTD in any capacity. In order to keep your code as portable as possible, it is suggested that you do not declare an optional DTD reference within your code at all, (or if you do, then do it via an 'include' on the server side). Some developers porting from other IVR platforms may already have a DTD specified that is specific to the vendor: In these circumstances, it is strongly suggested that any DTD references be replaced with the W3C DTD (being sure to specify version 2.1, and not 2.0), or that this reference be scrapped entirely.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE vxml
PUBLIC "-//W3C//DTD VOICEXML 2.0//EN"
"http://www.w3.org/TR/voicexml21/vxml.dtd">
<vxml version = "2.1" xmlns="http://www.w3.org/2001/vxml">
<form>
<block>
<prompt>Here is a sample document that shows the usage of a document type definition.</prompt>
<exit/>
</block>
</form>
</vxml>
<vxml> element:
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml"
xmlns:voxeo="http://community.voxeo.com/xmlns/vxml">
| ANNOTATIONS: EXISTING POSTS |
| login |
|