Platform SDK: Web Telephony Engine

OPTION

<OPTION
CLASS=classname
ID=value
SELECTED
VOICEFILE=url
GRAMMAR=strings
>

Denotes one menu item in a SELECT menu.

Attributes

CLASS= classname
Specifies the class of the element being defined. This is used to associate a subclassed style sheet with the element.
ID= value
An SGML ID used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore ("_") can be used in the ID name. The ID should be unique throughout the document. If more than one object with the same ID exists in a document, a collection of those named items is created that can only be referenced by ordinal position.
SELECTED
Indicates that this item is the default. If not present, the first item is selected by default. In multiple select menus, this item is always one of the selected items.
VOICEFILE= url
Specifies the voice file attached with this element.
GRAMMAR= strings
Specifies a set of alternative words or phrases for the menu item. The caller can select the menu item by speaking any word or phrase in the set. This attribute is ignored if SR is not enabled.

Remarks

This element is a block element.

The start tag is required, and the end tag is optional.

The text in the option's line is the text associated with the menu item when rendered in TTS mode.