01-28-2015 06:25 AM
Hi,
I am getting:
CALL_ERROR; http://HTTP-SERVER/quickstart/
at line 13: Element <block> is not used according to DTD
My VXML Code:
?xml version="1.0"?>
<vxml version="2.0">
<var name="counter" expr="0"/>
<var name="number" expr="'.'"/>
<var name="test" expr="1"/>
<form id="mainform">
<field name="getdigit" type="digits?length=1">
<grammar type="application/grammar+regex">[1234567890*]</grammar>
<block>
<if cond="test==1">
<prompt bargein="false">
Please enter 10 digits mobile number.
</prompt>
</if>
</block>
<filled>
<var name="escape" expr="getdigit"/>
<if cond="escape=='*'">
<goto next="#mainform"/>
<else>
<var name="number" expr="number + '.' + getdigit"/>
<var name="counter" expr="counter+1"/>
<if cond="counter==10">
<var name="result" expr="number"/>
</if>
<else>
<var name="test" expr="0"/>
<goto next="#mainform"/>
</else>
</else>
</if>
</filled>
</field>
</form>
</vxml>
Plz Help me out......................
02-03-2015 09:30 PM
Hi Amit,
i think <block> should be used inside <form> element, but looks like you are using inside <filed> element.
Thanks,
Raghavendra
02-06-2015 04:26 AM
Hi Raghavendra,
Thank You. I resolved the problem.
Thank You,
Amit Bidkar
On Wednesday 04 February 2015 11:01 AM, Raghavendra Gutty Veeranagappa
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide