Smartsite SXML CopyCode image Copy Code
<se:xmldatatable save="person" resulttype="datatable">
    <se:row>
        <se:col name="FirstName">Jennifer</se:col>
        <se:col name="LastName">Aniston</se:col>
        <se:col name="Sex">Female</se:col>
        <se:col name="Age">40</se:col>
    </se:row>
</se:xmldatatable>

<se:format inputdata="person">
    <se:rowformat whitespace="simpleformat">
        <se:colformat trim="left">
            {this.colname()} ({this.colnumber()} out of {this.colcount()}) = {this.field()}
        </se:colformat>
    </se:rowformat>
</se:format>
Example Result CopyCode image Copy Code
FirstName (1 out of 4) = Jennifer
LastName (2 out of 4) = Aniston
Sex (3 out of 4) = Female
Age (4 out of 4) = 40