Test checks the basic iteration features. >>>>templates/test.tpl <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- Print "foo" ten times with separator --> <opt:root> <opt:repeat times="10"> <opt:separator>::</opt:separator> foo </opt:repeat> </opt:root> >>>>expected.txt OUTPUT >>>>result.txt foo:: foo:: foo:: foo:: foo:: foo:: foo:: foo:: foo:: foo