<www.vxml.co.za>





<training>





<voicexml tutorial>















Voice Extensible Markup Language (VoiceXML) Version 2.1




With regards to Voice Extensible markup Language (VoiceXML) version 2.1, the reference document located at http://www.w3.org/TR/voicexml21. Version 2.1 is fully backwards compatible with version 2.0.

However, it must be noted that this document only describes the set of additional features.

The following elements have been introduced with the advent of VoiceXML version 2.1:

New:

<data>
<foreach>


Enhanced:

<disconnect>
- <grammar>
- <mark>
- <property>
- <script>
- <transfer>


It is important to note that code extracts and examples which is freely available on the web, might not comply 100% with the W3C specification and might contain platform specific elements or formatting, which should be avoided in order to have portable and standardized applications.

To make code more readable two methods can be employed- blank lines and indentation. The more powerful of the two is indentation. Obviously there are no hard and fast rules on indentation, however, here follow a few general guidelines.

It does make sense to indent according to parent / child relations between elements.

Throughout this document indentation is being used in code examples.

Should a VoiceXML editor be able to accommodate the VoiceXML Document Type Definition (DTD) made available by W3C, it is advisable to use it.

The DTD for VoiceXML version 2.0 is accessible at http://www.w3.org/TR/voicexml20/vxml.dtd;

VoiceXML version 2.1 is available at http://www.w3.org/TR/voicexml21/vxml.dtd.

Herewith an example of a DTD reference within in a VoiceXML document:



For more information go to:
www.w3.org/TR/voicexml21








Copyright 2009 - Computer Assisted Telephony Systems (Pty) Ltd