no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | developer_guide:voicexml_references:elements:if [2015/10/27 12:57] (current) – created borja | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== < if > ====== | ||
+ | ===== Description ===== | ||
+ | |||
+ | The < if > element defines if-then-else conditional logic. | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | < | ||
+ | <if | ||
+ | cond=" | ||
+ | child elements | ||
+ | </if> | ||
+ | </ | ||
+ | |||
+ | ===== Attributes ===== | ||
+ | |||
+ | |cond|The cond attribute is a Boolean expression for the conditional logic statement. This attribute is required.| | ||
+ | |||
+ | |||
+ | ===== Parents ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Children ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Extensions ===== | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Limitations/ | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Example Code ===== | ||
+ | |||
+ | < | ||
+ | <?xml version=" | ||
+ | <vxml version=" | ||
+ | < | ||
+ | < | ||
+ | <field name=" | ||
+ | < | ||
+ | < | ||
+ | <if cond=" | ||
+ | | ||
+ | < | ||
+ | <elseif cond=" | ||
+ | | ||
+ | < | ||
+ | </if> | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ |