Creating a Voice Application with VoxML

Now that you have an understanding of the VoxML vocabulary, along with the tools used to test VoxML applications, you're ready to see a complete VoxML application. I thought an interesting VoxML application might be a pizza ordering system. Most pizza orders are taken over the phone anyway, so why not automate the process using VoxML?

You already saw some of the code for the pizza order system when you explored the VoxML vocabulary earlier in the chapter. Listing 40.2 contains the complete VoxML code for the Sparky's Pizza Palace VoxML application.

Listing 40.2. VoxML Code for the Sparky's Pizza Palace Interactive Speech Application
 <?xml version="1.0"?> <DIALOG> <STEP NAME="init"> <PROMPT>Welcome to ...

Get XML Unleashed 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.