Motorola 1 manual Class Element, Integer

Page 16

VoxML 1.0 Element Reference

CLASS Element

CLASS Element

The CLASS element defines a set of elements that are to be reused within the context of a DIALOG. The definitions of a given CLASS may be inherited by STEPs or other CLASSs. The CLASS element allows the application developer to define a set of elements once, and then use them several times. The CLASS element is often used to define the default behavior of ERROR, HELP, and CANCEL, within a given DIALOG.

The CLASS element can be contained by a DIALOG element only.

Syntax

<CLASS NAME="value" [PARENT="value"] [BARGEIN="value"] [COST="value"] > VoxML </CLASS>

Attributes

Attribute Name

Allowed Values

NAMEidentifier

PARENT

identifier

 

 

BARGEIN

Y *

 

N

 

 

COST

integer*

*The COST attribute is a platform-dependent feature. A given browser implementation may or may not support each platform-dependent feature.

October 1998

VoxML 1.0 Language Reference 12

Image 16
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