Motorola 1 manual Response Element

Page 46

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

Image 46
Contents VoxML Language Reference RevisionPage Contents Appendices Overview What is VoxMLPurpose of this Document Structure of a VoxML Document DIALOGs and STEPsBasic Elements Other Reference Documentation VoxML 1.0 Application Development GuideSyntax ACK ElementAttributes Examples Audio Element Break Element Cancel Element Next step URLExamples Case Element Class Element IntegerExamples Dialog Element EMP Element Error Element Input TYPE=OPTIONLIST Help Element Option NEXT=#end done /OPTION 11 /INPUT 12 /STEP Input Element Input Element Type Date Data FormatInput 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 Or Element Syntax AttributesPrompt Element Pros Element Rename Element Response Element Examples Step Element Switch Element Value Element PromptAppendices Appendix a VoxML 1.0 Document Type DefinitionOctober VoxML 1.0 Language Reference Appendix B Vcard Profile Names and Subtypes Vcard Profile Names and SubtypesFirst