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