VoiceXML 2.1 introduces the following new elements and attributes:
- The element, <data> allows a VXML application to
fetch XML data from a document server without transitioning to a new
VXML document.
- The <foreach> element allows a VoiceXML application
to iterate through an ECMAScript array and to execute the content
contained within the <foreach> element for each item
in the array.
- A second attribute, nameexpr has been added to the <mark> element.
- The namelist attribute has been added to the <disconnect> element.
- The recordutterance and recordutterancetype properties
have been added, to be used with the <property> element.
- The srcexpr attribute has been added to the <grammar> element.
- The srcexpr attribute has been added to the <script> element.
- The type attribute has been added to the <transfer> element.
- The <break> element now has a strength attribute
and the time attribute now specifies the duration of a pause
to be inserted in the output in seconds or milliseconds instead of
using a predefined string value, as previously.
- The <desc> element is now
fully supported and is no longer ignored by the VoiceXML browser.
- The <p> and <s> elements are
now supported as well as <paragraph> and <sentence> elements
Various existing elements have changed in their implementation.
Where this is the case it is indicated in Table 1. You will need
to refer to the W3C VoiceXML 2.1 specification for details.
Referencing URIs
IP
address references are usually non-numeric (the numeric address is
‘looked up’ at runtime). However, numeric IPv4 (dotted decimal)
format IP addresses and IPv6 format addresses are also supported.
URIs
that include numeric IPv6 format addresses, must have the numeric
part within [ ] brackets, for example:
http://[2002:914:fc12:195:0000:8a2e:0370:7334]/audio/welcome.wav
This
applies to all protocols.