developer_guide:voicexml_references:elements:exit

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


developer_guide:voicexml_references:elements:exit [2015/10/27 12:29] (current) – created borja
Line 1: Line 1:
 +====== < exit > ======
  
 +===== Description =====
 +
 +The < exit > element exits the interpreter session and returns control to the interpreter context, which determines what to do next.  This element differs from the < return > element in that < exit > terminates all loaded elements while < return > returns from a < subdialog > invocation.
 +
 +===== Syntax =====
 +
 +<code>
 +<exit
 +expr="ECMAScript_Expression"
 +namelist="item1 item2 item3..."/>
 +</code>
 +
 +===== Attributes =====
 +
 +|expr|The expr attribute is the expression to be evaluated and returned.  This attribute is optional and the value is sent to the call control.|
 +|namelist|The namelist attribute indicates variable names to be returned to interpreter context, and returns nothing by default. This attribute is optional.|
 +
 +===== Parents =====
 +
 +<code>
 +<block>, <catch>, <error>, <filled>, <help>, <if>, <noinput>, <nomatch>
 +</code>
 +
 +===== Children =====
 +
 +<code>
 +None.
 +</code>
 +
 +===== Extensions =====
 +
 +<code>
 +None.
 +</code>
 +
 +===== Limitations/Restrictions =====
 +
 +<code>
 +None.
 +</code>
 +
 +===== Example Code =====
 +
 +<code>
 +<?xml version="1.0"?>
 +<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
 + <error>
 +  <prompt>An error has occurred.</prompt>
 +  <exit expr="'ERROR'"/>
 + </error>
 + <form>
 +  <block>
 +   <audio expr="directory+'badaudio.wav'"/>
 +  </block>
 + </form>
 +</vxml>
 +</code>
  • developer_guide/voicexml_references/elements/exit.txt
  • Last modified: 2015/10/27 12:29
  • by borja