<property>

<property>

The <property> element sets a property value. Properties are used to set values that affect platform behavior, such as the recognition process, timeouts, caching policy, etc.

Attributes

NameData typeDescription

name

String

The name of the global property.

value

String

The value of the property.

Notes

See the Properties section for a listing of all global properties.

Example

<?xml version="1.0"?>
<vxml version="2.0">
  <!-- Setting the "inputmodes" property to "dtmf" will instruct the -->
  <!-- interpreter to ignore all speech input. -->
  <property name="inputmodes" value="dtmf"/>
  <form>
    <field name="myfield" type="digits">
      <prompt>
        You will not be able to say digits, but you will be
        able to enter them using your telephone keypad.
      </prompt>
      <filled>
        You entered <value expr="myfield"/>
      </filled>
    </field>
  </form>
</vxml>

The output of the above script would be:

Computer: You will not be able to say digits, but you will be able… Human: One four five. Computer: (disregards speech) Computer: …to enter them using your telephone keypad. Human: (enters DTMF-1 DTMF-4 DTMF-5) Computer: You entered one hundred forty-five.

Child Tags

None

Parent Tags

<field>, <form>, <initial>, <menu>, <record>, <subdialog>, <transfer>, <vxml>

Last updated