3.45. return

Element typereturn
Attributesevent | namelist
Parentsblock | catch | error | filled | help | if | noinput | nomatch
ChildrenNone.
DescriptionReturns control to the calling dialog; used in a subdialog to return data or an event.

DTD

<!ELEMENT return EMPTY >
<!ATTLIST return
  namelist %field.names; #IMPLIED
  event    %event.name;  #IMPLIED >

Language model

Attributes

event : event.name

Returns control to the dialog and throws an event.

namelist : field.names

A list of variables to return to the calling dialog.

Children

None.

Examples

Example 3-56. A subdialog that returns execution to its calling dialog
 <?xml version="1.0" encoding="iso-8859-1"?> ...

Get Definitive VoiceXML™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.