<?xml version="1.0" encoding="UTF-8"?>
<!-- assume all attributes of vxml are used correctly -->
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd">
<menu>
<enumerate>Do you want the door to be locked?<enumerate/>
<prompt>
<choice next="/lock.do">
Yes
</choice>
<choice next="/unlock.do">
No
</choice>
<noinput>Please say one of <enumerate/></noinput>
</prompt>
</menu>
</vxml>
<?xml version="1.0" encoding="UTF-8"?>
<!-- assume all attributes of vxml are used correctly -->
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd">
<menu>
<ask>
Do you want the door to be locked?<enumerate/>
</ask>
<switch next="/lock.do">
Yes
</switch>
<switch next="/unlock.do">
No
</switch>
<noinput>Please say one of <enumerate/></noinput>
</menu>
</vxml>
<?xml version="1.0" encoding="UTF-8"?>
<!-- assume all attributes of vxml are used correctly -->
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd">
<menu>
<prompt>
Do you want the door to be locked?
</prompt>
<enumerate>
<choice next="/lock.do">
Yes
</choice>
<choice next="/unlock.do">
No
</choice>
</enumerate>
<noinput>Please say yes or no.</noinput>
</menu>
</vxml>
<?xml version="1.0" encoding="UTF-8"?>
<!-- assume all attributes of vxml are used correctly -->
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd">
<menu>
<prompt>
Do you want the door to be locked?<enumerate/>
</prompt>
<choice next="/lock.do">
Yes
</choice>
<choice next="/unlock.do">
No
</choice>
<noinput>Please say one of <enumerate/></noinput>
</menu>
</vxml>
<?xml version="1.0" encoding="UTF-8"?>
<!-- assume all attributes of vxml are used correctly -->
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml
http://www.w3.org/TR/voicexml20/vxml.xsd">
<menu>
<prompt>
Do you want the door to be locked?<enumerate/>
</prompt>
<switch next="/lock.do">
Yes
</switch>
<switch next="/unlock.do">
No
</switch>
<noinput>Please say one of <enumerate/></noinput>
</menu>
</vxml>
|