This chapter is from the book
3.36 option
Element type |
option |
Attributes |
dtmf | value |
Parents |
field |
Children |
CDATA |
Description |
Declares one of a set of possible responses for a field. |
DTD
<!ELEMENT option (CDATA)* > <!ATTLIST option dtmf CDATA #IMPLIED value CDATA #IMPLIED >
Language model
Attributes
-
dtmf : CDATA
The DTMF sequence for this option.
-
value : CDATA
The string to assign to the parent field when this option is selected.
Children
None.
Examples
Example 3-42 A field with several options
<?xml version="1.0" encoding="iso-8859-1"?> <vxml version="1.0"> <form id="icecream"> <field name="flavor"> <prompt>What ice cream flavor would you like?</prompt> <option>Vanilla</option> <option>Chocolate</option> <option>Rocky Road</option> </field> <filled> Your <value expr="flavor"/> ice cream is being prepared. Thank you. </filled> </form> </vxml>