Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<field name="secretCode" type="digits?length=5">
<prompt>
Please press or say your 5-digit code.
</prompt>
</field>
<block>
<data name="verification" namelist="secretCode"
src="http://mycompany.com/dev/CheckCode.xml"/>
<prompt>
Your code is <value expr="verification.documentElement.firstChild.toString()"/>.
</prompt>
</block>
</form>
</vxml>
The file located at http://mycompany.com/dev/CheckCode.xml is as follows:
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<isverified>true</isverified>
Thank you,
David Cohen