If Parameters Notation Example

This example is written in the formalized notation which is valid but not often used because it is much more verbose than the shorthand notation.

Smartsite SXML CopyCode image Copy Code
<se:if expression="1==0">
    <se:parameters>
        <se:parameter name="then">
            This is the verbose way of saying yes.
        </se:parameter>
        <se:parameter name="else">
            This is the verbose way of saying no.
        </se:parameter>
    </se:parameters>
</se:if>
Example Result CopyCode image Copy Code
This is the verbose way of saying no.