|
Newsletters
|
|
|
|
|
Voice XML Reference
Voice XML Reference
Bookmark this page
The if Element - <if>
Description: The <if> element is used for conditional logic. It has optional <else> and <elseif> elements.
Example:
<if cond="total > 1000">
<prompt>This is way too much to spend.</prompt>
<throw "com.xyzcorp.acct.toomuchspent"/>
</if>
Back to Tag Listing
|
|