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:var [2015/10/27 21:47] (current) – created borja | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== < var > ====== | ||
+ | ===== Description ===== | ||
+ | |||
+ | The <var> element declares a variable in the scope of its parent element. | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | < | ||
+ | <var | ||
+ | name=" | ||
+ | expr=" | ||
+ | </ | ||
+ | |||
+ | ===== Attributes ===== | ||
+ | |||
+ | |name|The name attribute defines the name of the variable. This attribute is required.| | ||
+ | |expr|The expr attribute is the initial value of the variable. This attribute is optional and defaults to undefined.| | ||
+ | |||
+ | ===== Parents ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | ===== Children ===== | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Extensions ===== | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Limitations/ | ||
+ | |||
+ | < | ||
+ | None. | ||
+ | </ | ||
+ | |||
+ | ===== Example Code ===== | ||
+ | |||
+ | < | ||
+ | <?xml version=" | ||
+ | <vxml version=" | ||
+ | < | ||
+ | < | ||
+ | <field name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ |