Element categories

We have explored the taxonomy of a VoiceXML document. The VoiceXML elements can also be categorized by function, as shown in Table 3-1, based on comments in the DTD. This partitioning can be summarized as follows:

Audio Input

Element types controlling how input is collected from the caller.

Audio Output

Element types controlling how audio is rendered to the caller.

Call Control

Element types that perform telephony hardware operations.

Dialog

Element types that define a dialog.

Event

Element types that produce or handle real-time events.

Field

Element types that define a form field.

Flow Control

Element types that control the execution flow of a VoiceXML application.

Miscellaneous

Element types that provide access to ECMAScript, native objects, and run-time logging.

Prompt

Element types controlling the prompting of the caller.

Root

Element types used to declare a VoiceXML document and provide document-level metadata.

Table 3-1. All of the VoiceXML element types organized by category
Element typeCategorySection
exampleAudio Input3.14, “example,”
grammarAudio Input3.20, “grammar,”
itemAudio Input3.24, “item,”
one-ofAudio Input3.35, “one-of,”
recordAudio Input3.43, “record,”
ruleAudio Input3.46, “rule,”
rulerefAudio Input3.47, “ruleref,”
tokenAudio Input3.55, “token,”
audioAudio Output3.2, “audio,”
breakAudio Output3.4, “break,”
emphasisAudio Output3.11, “emphasis,”
markAudio Output3.28, “mark,”
paragraphAudio Output3.37, “paragraph,”
phonemeAudio Output3.39, “phoneme,”
prosodyAudio Output3.42, “prosody,”
say-asAudio Output3.48, “say-as,”
sentenceAudio Output3.50, “sentence,”
voiceAudio Output3.59, “voice,”
disconnectCall Control3.8, “disconnect,”
transferCall Control3.56, “transfer,”
choiceDialog3.6 “choice”
formDialog3.18, “form,”
menuDialog3.29, “menu,”
catchEvent3.5, “catch,”
errorEvent3.13, “error,”
helpEvent3.21, “help,”
linkEvent3.26, “link,”
noinputEvent3.32, “noinput,”
nomatchEvent3.33, “nomatch,”
throwEvent3.54, “throw,”
assignField3.1, “assign,”
blockField3.3, “block,”
clearField3.7, “clear,”
fieldField3.16, “field,”
initialField3.23, “initial,”
optionField3.36, “option,”
valueField3.57, “value,”
varField3.58, “var,”
elseFlow Control3.9, “else,”
elseifFlow Control3.10, “elseif,”
exitFlow Control3.15, “exit,”
filledFlow Control3.17, “filled,”
gotoFlow Control3.19, “goto,”
ifFlow Control3.22, “if,”
paramFlow Control3.38, “param,”
returnFlow Control3.45, “return,”
subdialogFlow Control3.51, “subdialog,”
submitFlow Control3.52, “submit,”
logMiscellaneous3.27, “log,”
objectMiscellaneous3.34, “object,”
propertyMiscellaneous3.41, “property,”
scriptMiscellaneous3.49, “script,”
enumeratePrompt3.12, “enumerate,”
promptPrompt3.40, “prompt,”
repromptPrompt3.44, “reprompt,”
metaRoot3.30, “meta,”
vxmlRoot3.60, “vxml,”

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.136.27.75