<for> ... </for>
|
 |
<for> is defined in the Main RXML parser module.
Makes it possible to create loops in RXML.
|
|
Attributes
- from
-
Initial value of the loop variable.
- step
-
How much to increment the variable per loop iteration. By default
one.
- to
-
How much the loop variable should be incremented to.
- variable
-
Name of the loop variable.
Example
source code
|
<gauge>
<for variable=i from=1 to=5>
<set variable=foo from=i>
</for>
</gauge>
|
 |
|
result
|
Time: 0.002953 seconds
|
|
|