<value>

Description

Used to insert the value of an expression into a prompt.

Syntax


<value
    expr="ECMAScript_Expression"/>

Attributes

Attribute

Description

expr

The ECMAScript expression to be evaluated and inserted into the prompt. Required.

Parents

<audio>, <block>, <catch>, <choice>, <enumerate>, <error>, <field>, <filled>, <foreach>, <help>, <if>, <initial>, <log>, <menu>, <noinput>, <nomatch>, <object>, <prompt>, <record>, <subdialog>, <transfer>, Speech Markup (SSML)

Children

None.

Extensions

None.

Limitations/Restrictions

Example


<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
  <var name="var1" expr="'first'"/>
  <form>
    <block>
      The initial value is <value expr="var1"/>.
    </block>
  </form>
</vxml>