|
Newsletters
|
|
|
|
|
Voice XML Reference
Voice XML Reference
Bookmark this page
The param Element - <param>
Description: The <param> element is used to specify values that are passed to subdialogs or objects. It is
modeled on the HTML <PARAM> element.
Example:
<object name="debit"
classid="method://credit_card/gather_and_debit"
data="http://www.recordings.example/prompts/credit/jesse.jar"/>
<param name="amount" expr="document.amt"/>
<param name="vendor" expr="vendor_num"/>
<param name="application_id" value="ADC5678-QWOO"/>
<param name="authentication_server" value="http://auth_svr.example"
valuetype="ref" value="text/plain"/>
</object>
| Attributes |
| Name |
Value |
Description |
| name |
PCDATA |
The name to be associated with this parameter when the object or
subdialog is invoked. |
| expr |
PCDATA |
An expression that computes the value associated with name. |
| value |
PCDATA |
Associates a literal string value with name. |
| valuetype |
"data" or "ref" |
One of data or ref, by default data; used to indicate to an object if
the value associated with name is data or a URI (ref). This is not
used for <subdialog>. |
| type |
mime-type |
The MIME type of the result provided by a URI if the valuetype is
ref; only relevant for uses of <param> in <object>. |
Back to Tag Listing
|
|