Introduction to voice XML grammar

VoiceXML is an standard to create voice activated applications which are basically xml applications. As with other xml applications these also have different xml tags that are specific to the interaction between the user and the server in speech. A DTD is present to validate the voice xml document.


_______________________________________________

Any voice xml document starts with an <vxml> tag. The other tags like <menu>, <form>, <var>, <prompt>, <audio>, <choice>, <default> etc are available within the <vxml> tag to form the xml application. There are lots of tutorials available in the internet that gives you examples on working with these tags.

For example the <prompt> tag will prompt the user to tell something to the server with some audio. The following code prompts the user with an audio message.

<prompt>
<audio>Welcome to the voice Interactive system. Say Mail to go to the voice mail box.</audio>
</prompt>

The <choice> element is used to redirect the user to a particular choice based on their response. The default tag can be used to redirect the user to the same prompt dialog if he says something else that is not available in the choice.




_______________________________________________

FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________








 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!

Visit XML Training Material Guide Homepage

 

 

Copyright - © 2004 - 2017 - All Rights Reserved.