Forks the execution to one of 2 child nodes.
Syntax
Smartsite SXML | Copy Code |
---|---|
<se:if expression="" /> |
Parameters
Name | Data Type | Properties | Description |
---|---|---|---|
Else | String |
RawData
|
The Else clause of the If constuct. |
Expression | String |
IsRequired
ExpressionSyntax XmlDecode |
Sets the expression for the if-else flow. |
Then | String |
RawData
|
The Then clause of the If constuct. |
Xml | String |
RawData
Default |
Sets the XML. |
Shared Parameters
Local Viper Methods
Viper | Extension | Description |
---|---|---|
This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |