<exit>

Terminates all loaded documents in the application.

Syntax

<exit 
    expr = "CDATA"
    namelist = "list of identifiers"
/>

Attributes

Attribute

Data Type

Required?

Default

Description

expr

CDATA

no

NA

Boolean expression that must evaluate to ECMAScript true for the exit to execute.

namelist

list of identifiers

no

NA

Space-separated list of form item variables to return. If not specified, no variables are returned.

Details

When <exit> is executed, control is returned to the VoiceXML Interpreter. An exit event is not raised.

Parents

<block>, <catch>, <error>, <filled>, <foreach>, <help>, <if>, <noinput>, <nomatch>

Children

None.

Example

<?xml version="1.0"?>
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml">
    <form id="formExit">
        <block>
            <prompt>Thanks for using the voice portal</prompt>
            <exit/>
        </block>
    </form>
</vxml>

See Also

<disconnect>