The VoiceXML Handbook: Understanding and Building the Phone-Enabled Web


TABLE OF CONTENTS 
Assign a value to a variable.
Parent Tags
Content Syntax
The value of this tag must be empty.
Attributes
| Name | Req/opt | Default | Valid values |
|---|---|---|---|
| expr | Required | Text | |
| name | Required | Text |
Compatibility
VoiceXML 1.0 Yes, 2.0 Yes.
Description
Assigns a value to an ECMAScript variable. The name of the variable is specified by the name attribute, the ECMAScript expression in the expr attribute is evaluated and assigned to that variable.
The variable could be a dialog item variable (defined by the name attribute of
UNLIMITED
FREE
ACCESS
TO THE
WORLD'S
BEST IDEAS
SIGN UP TO SEE MORE
An error occurred while processing the form. Please try again in a few minutes.
An error occurred while processing the form. Please try again in a few minutes.