Smartsite SXML CopyCode image Copy Code
<se:xmldatatable save="grades" resulttype="datatable">
    <se:row>
        <se:col name="Student">John</se:col>
        <se:col name="Grade">4</se:col>
    </se:row>
    <se:row>
        <se:col>Karen</se:col>
        <se:col>7</se:col>
    </se:row>
    <se:row>
        <se:col>Marian</se:col>
        <se:col>5</se:col>
    </se:row>
    <se:row>
        <se:col>Peter</se:col>
        <se:col>9</se:col>
    </se:row>
</se:xmldatatable>

{datatable.simpleformatrow(grades, 2, 'Student {1} has the grade {2}')}
Example Result CopyCode image Copy Code
Student Karen has the grade 7
SXML