Motorola manual Appendices, Appendix a VoxML 1.0 Document Type Definition

Page 51

Appendices

Appendix A - VoxML 1.0 Document Type Definition

3. Appendices

Appendix A - VoxML 1.0 Document Type Definition

This appendix describes the VoxML 1.0 Document Type Definition. A DTD is used to define the syntax and grammar of a language in a way that can be read and understood by humans as well as machines (i.e. parsers).

<!ELEMENT DIALOG (STEPCLASS)*> <!ATTLIST DIALOG BARGEIN (YN) "Y">

<!ELEMENT STEP (PROMPTINPUTHELPERRORCANCELACK)*>

<!ATTLIST STEP NAME ID #REQUIRED PARENT IDREF #IMPLIED BARGEIN (YN) "Y"

COST CDATA #IMPLIED>

<!ELEMENT CLASS (PROMPTHELPERRORCANCELACK)*>

<!ATTLIST CLASS NAME ID #REQUIRED PARENT IDREF #IMPLIED BARGEIN (YN) "Y"

COST CDATA #IMPLIED>

<!ELEMENT PROMPT (#PCDATAOPTIONSVALUEEMPBREAKPROSAUDIO)*>

<!ELEMENT EMP (#PCDATAOPTIONSVALUEEMPBREAKPROSAUDIO)*>

<!ATTLIST EMP LEVEL (STRONGMODERATENONEREDUCED) "MODERATE">

<!ELEMENT PROS (#PCDATAOPTIONSVALUEEMPBREAKPROSAUDIO)*>

<!ATTLIST PROS RATE CDATA #IMPLIED VOL CDATA #IMPLIED PITCH CDATA #IMPLIED RANGE CDATA #IMPLIED>

<!ELEMENT HELP (#PCDATAOPTIONSVALUEEMPBREAKPROSAUDIO)*>

<!ATTLIST HELP ORDINAL CDATA #IMPLIED REPROMPT (YN) "N"

NEXT CDATA #IMPLIED NEXTMETHOD (GETPOST) "GET">

<!ELEMENT ERROR (#PCDATAOPTIONSVALUEEMPBREAKPROSAUDIO)*>

<!ATTLIST ERROR TYPE NMTOKENS "ALL" ORDINAL CDATA #IMPLIED REPROMPT (YN) "N"

NEXT CDATA #IMPLIED NEXTMETHOD (GETPOST) "GET">

<!ELEMENT CANCEL (#PCDATAVALUEEMPBREAKPROSAUDIO)*>

<!ATTLIST CANCEL NEXT CDATA #REQUIRED NEXTMETHOD (GETPOST) "GET">

October 1998

VoxML 1.0 Language Reference 47

Image 51
Contents Revision VoxML Language ReferencePage Contents Appendices What is VoxML OverviewPurpose of this Document DIALOGs and STEPs Structure of a VoxML DocumentBasic Elements VoxML 1.0 Application Development Guide Other Reference DocumentationACK Element SyntaxAttributes 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