| Smartsite SXML |
|
|---|---|
<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.simpleformat(grades)}
{datatable.simpleformat(grades, 'Student {1} has the grade {2}', ', ')}
|
|
| Example Result |
|
|---|---|
Student=John; Grade=4 Student=Karen; Grade=7 Student=Marian; Grade=5 Student=Peter; Grade=9 Student John has the grade 4, Student Karen has the grade 7, Student Marian has the grade 5, Student Peter has the grade 9 |
|