<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

name The name of the global property.
value The value of the property.

Notes

See the Properties section for a listing of the global properties by alphabet and by purpose.


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>