Test checks the basic iteration features.
>>>>templates/test.tpl
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Print numbers from 0 to 9 with attributed separator -->
<opt:root>
<opt:for begin="@i is 0" while="@i lt 10" iterate="@i++">
<opt:separator>::</opt:separator>
{@i}
</opt:for>
</opt:root>
>>>>expected.txt
OUTPUT
>>>>result.txt
0::
1::
2::
3::
4::
5::
6::
7::
8::
9