Voicexml grammar
Posted
by
Tyzak
on Stack Overflow
See other posts from Stack Overflow
or by Tyzak
Published on 2011-01-05T10:25:47Z
Indexed on
2011/01/05
10:53 UTC
Read the original article
Hit count: 288
Hello, I try to use grammar in my voicexml file. At first i tried an In-line grammar. I used an example from a website, but it doesn't work.
here is the code:
<?xml version="1.0" encoding="UTF-8"?>
<vxml [...] version="2.0">
<form id="test">
<field name="var">
<prompt>choose</prompt>
<!-- ABNF -->
<grammar> one | two | three| four </grammar>
<filled>
you chose <value expr="var"/>
</filled>
</field>
</form>
</vxml>
thanks
© Stack Overflow or respective owner