Motorola 1 manual Cancel Element, Next step URL

Page 13

VoxML 1.0 Element Reference

CANCEL Element

CANCEL Element

The CANCEL element enables the application developer to define the behavior of the VoxML application in response to a user’s request to cancel the current PROMPT. If the application developer does not define the behavior of CANCEL for a given STEP, the system default behavior will be used.

The default behavior for the CANCEL element is to stop the PROMPT, and then process any interactive INPUTs.

The CANCEL element, like the HELP element, can be invoked through a variety of phrases. The user may say only the word “cancel”, or the user may say “I would like to cancel, please.” In either case, the CANCEL element will be interpreted.

The CANCEL element can be contained within a STEP or a CLASS element.

Syntax

<CANCEL NEXT="value" [NEXTMETHOD="value"] />

or

<CANCEL NEXT="value" [NEXTMETHOD="value"] > text </CANCEL>

Attributes

Attribute Name

Allowed Values

 

 

NEXT

next step URL

 

 

NEXTMETHOD

GET *

 

POST

October 1998

VoxML 1.0 Language Reference 9

Image 13
Contents Revision VoxML Language ReferencePage Contents Appendices Overview What is VoxMLPurpose of this Document DIALOGs and STEPs Structure of a VoxML DocumentBasic Elements VoxML 1.0 Application Development Guide Other Reference DocumentationSyntax ACK ElementAttributes 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