O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.4. VoiceXML variable support

VoiceXML provides the capability of storing values in variables. A var element can declare variables, and an assign element can then be used to assign a value to an already defined variable. In addition several other elements implicitly declare and/or assign values to variables, including field, object, record, initial, subdialog, link, and transfer elements.

VoiceXML variables behave exactly like ECMAScript variables. In fact, the declaration, assignment, and evaluation of VoiceXML variables are typically implemented using an ECMAScript interpreter. The var element type is used to define variables within a form. As part of the FIA's initialization process, any variable that is not initialized will be set to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required