Motorola 1 manual Options Element

Page 41

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

Image 41
Contents Revision VoxML Language ReferencePage Contents Appendices Purpose of this Document What is VoxMLOverview DIALOGs and STEPs Structure of a VoxML DocumentBasic Elements VoxML 1.0 Application Development Guide Other Reference DocumentationAttributes ACK ElementSyntax Examples Audio Element Break Element Next step URL Cancel ElementExamples Case Element Integer Class ElementExamples Dialog Element EMP Element Error Element Input TYPE=OPTIONLIST Help Element Option NEXT=#end done /OPTION 11 /INPUT 12 /STEP Input Element Data Format Input Element Type DateInput Element Type Digits Input Element Type Grammar Input Element Type Hidden Input Element Type Money Input Element Type None Input Element Type Number Input Element Type Optionlist Input Element Type Phone Input Element Type PROFILE‡ Input Element Type Record Prompt Input Element Type Time Input Element Type Yorn Option Element VoxML 1.0 Element Reference Options Element Syntax Attributes Or ElementPrompt Element Pros Element Rename Element Response Element Examples Step Element Switch Element Prompt Value ElementAppendix a VoxML 1.0 Document Type Definition AppendicesOctober VoxML 1.0 Language Reference Vcard Profile Names and Subtypes Appendix B Vcard Profile Names and SubtypesFirst