VoxML 1.0 Element Reference

OPTIONS Element

OPTIONS Element

The OPTIONS element describes the type of input expected within a given STEP element. The OPTIONS element is typically used in HELP elements to present the user with a complete list of valid responses. The OPTIONS element can be used anywhere that text is read to the user.

The OPTIONS element can be contained by a PROMPT, EMP, PROS, HELP,

ERROR, or ACK element.

Syntax

<OPTIONS/>

Attributes

The OPTIONS element has no attributes.

Examples

1 <CLASS NAME="helpful">

2<HELP> Your choices are: <OPTIONS/> </HELP>

3</CLASS>

This example illustrates how the OPTIONS element can be used to construct a “helpful” CLASS. Any STEPs that directly or indirectly name “helpful” as a PARENT respond to “help” by speaking the message, in which the OPTIONS element expands to a description of what can be said at this point in the dialog.

October 1998

VoxML 1.0 Language Reference 37

Page 41
Image 41
Motorola 1 manual Options Element