VoxML 1.0 Element Reference
OR Element
OR Element
The OR element is used to define alternate recognition results in an OPTION element. The OR element is interpreted as a logical or, and is used to associate multiple recognition results with a single NEXT attribute.
The OR element can exist only within the OPTION element.
Syntax
<OR/>
Attributes
The OR element has no attributes.
Examples
1<INPUT TYPE="optionlist">
2<OPTION NEXT="#coke_chosen">
3coke <OR/>
4</OPTION>
5<OPTION NEXT="#pepsi_chosen"> pepsi </OPTION>
6</INPUT>
The code shown above illustrates the use of the OR element within an OPTION element. As you can see on line 3, the user may respond with either “coke” or
October 1998 | VoxML 1.0 Language Reference 38 |