If Then Example
If you want to write an if statement without an else part, this is the shortest notation. Just add everything you want in the then part inside the if macro. If the expression evaluates to true, everything inside the macro is executed. If the expression evaluates to false, nothing is executed.
Smartsite SXML | Copy Code |
---|---|
<se:if expression="1==1"> The expression evaluates to true! </se:if> |
Example Result | Copy Code |
---|---|
The expression evaluates to true! |