What is the relationship between VoiceXML and JavaScript?
The VoiceXML 1.0 specification defines not just the DTD for an XML-based voice markup language, but a complete voice application execution environment integrating the power of a general-purpose, procedural scripting language, ECMAScript (commonly known as JavaScript) with the declarative simplicity of XML. The XML portion of the VoiceXML specification is designed purely to simplify the description of a voice application’s call flow. It divides the application into a series of “dialogs” which gather data from the user, and between which control either flows sequentially or deterministically based on user input and the desired application behavior. The strength of this XML-based framework is the ease in which a specific caller interaction may be described. Each dialog encapsulates the processing for a single user interaction, including the prompts to play, the processing of caller input, and error handling. Though scoped variables, data operators, and branching/looping statements do exis