Smartsite SXML | Copy Code |
---|---|
<se:itemdata field="title" resultformat="{html.tag(h1,this.result())}" /> <se:if expression="1==1"> <se:parameters> <se:parameter name="xml"> <se:then>one is equal to one</se:then> <se:else>one is not equal to one</se:else> </se:parameter> <se:parameter name="resultformat"> <p>Did you know that: {this.result()}</p> </se:parameter> </se:parameters> </se:if> |
Example Result | Copy Code |
---|---|
<h1>Resultformat Example</h1> <p>Did you know that: one is equal to one</p> |