4.3. The Auto Attendant: generating VoiceXML using XSLT and ASP.NET
One of the best things about VoiceXML is the fact that it is XML! This means we can do all of those things that we love to do to XML: parse it, validate it, explore it with XPath, transform it with XSLT, then write it back out again. While the previous voice application examples accessed business data using relational databases or business objects, this example will look at generating VoiceXML from an XML data store.
In this section we're going to create an ASP.NET based VoiceXML application that uses XSLT to render an XML phone directory as VoiceXML. Before delving into the nuts and bolts of this example, we should first familiarize ourselves with the ASP.NET environment as ...
Get Definitive VoiceXML™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.