Location: PHPKode > projects > Open Power Template > tests/Opt/instruction/repeat_1.txt
Test checks the basic iteration features.

>>>>templates/test.tpl
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Print "foo" ten times -->
<opt:root>
<opt:repeat times="10">
foo
</opt:repeat>
</opt:root>

>>>>expected.txt
OUTPUT

>>>>result.txt
foo
foo
foo
foo
foo
foo
foo
foo
foo
foo
Return current item: Open Power Template