Xlinks Complex Example

This is an example that shows you how to apply custom formatting and sorts the items on the title field.

Smartsite SXML CopyCode image Copy Code
<se:xlinks parent="SAMPLEDATA" order="Title">
    <se:parameters>
        <se:parameter name="format">
            <se:rowformat>
                <img src="/images/bullet.png" alt="" style="width:10px; height: 10px" />{this.field(title)}<br />
            </se:rowformat>
        </se:parameter>
        <se:parameter name="resultformat">
            <div class="SeeAlso">
                See also:<br />
                {this.result()}
            </div>
        </se:parameter>
    </se:parameters>
</se:xlinks>