If with ResultFormat Example
In this sample example, the If macro is used together with the shared parameter resultformat.
Smartsite SXML | Copy Code |
---|---|
<se:if expression="1==0" then="true" else="false" resultformat="The expression is {this.result()}." /> |
Example Result | Copy Code |
---|---|
The expression is false. |