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 |