VoxML 1.0 Element Reference

RESPONSE Element

RESPONSE Element

The RESPONSE element is used to define the behavior of the VoxML application in response to different combinations of recognition slots. The RESPONSE element enables the application developer to define a different NEXT attribute depending on which of the grammar's slots were filled.

The RESPONSE element can exist only within an INPUT element, and then only when using an input type of GRAMMAR.

Syntax

<RESPONSE FIELDS="value" [NEXT="value" [NEXTMETHOD="value"] ] />

or

<RESPONSE FIELDS="value" [NEXT="value" [NEXTMETHOD="value"] ] > SWITCH elements </RESPONSE>

Attributes

Attribute Name

Allowed Values

 

 

FIELDS

comma separated list of identifiers

 

 

NEXT

next step URL

 

 

NEXTMETHOD

GET *

 

POST

October 1998

VoxML 1.0 Language Reference 42

Page 46
Image 46
Motorola 1 manual Response Element