Makes it possible to create loops in RXML.
Attributes
- from=number
-
Initial value of the loop variable.
- step=number
-
How much to increment the variable per loop iteration. By default one.
- to=number
-
How much the loop variable should be incremented to.
- variable=name
-
Name of the loop variable.
Example
<for variable=i from=1 to=10>
<formoutput>
<number num=#i#>
</formoutput>
</for>
one
two
three
four
five
six
seven
eight
nine
ten
|