ItemData Example

This is the text that will be displayed.

Smartsite SXML CopyCode image Copy Code
<se:itemdata field="body">
    <se:parameters>
        <se:parameter name="resultformat">
            <div id="content" class="mainpaneelement">
                <div id="body">
                    {this.result()}
                </div>
            </div>            
        </se:parameter>
    </se:parameters>
</se:itemdata>
Example Result CopyCode image Copy Code
<div id="content" class="mainpaneelement">
                <div id="body">
                    <p>This is the text that will be displayed.</p>
                </div>
            </div>