For
Simple for loop tag that allows you to do a for loop in XML.
Children Tags
Required Attributes
property
This property will contain the value of the element in the
range expression at the time of execution of that specific
element.
range
Range expression defining how this loop will behave and
over which elements it will iterate.
Usage Examples
Example #1
<for property="agent" range="1..10">
<for property="loop" range="[1..1000]">
<component id="${agent}">
<echo>Echo on ${agent} of loop ${loop}.</echo>
</component>
</for>
</for>
Example #2
<for property="var1" range="[0..1][0..1][0..1]">
<echo>${var1}</echo>
</for>
Example #3
<for property="var1" range="[0..10][a,b,c]">
<echo>${var1}</echo>
</for>