<while> repeat a block while a condition is true

name
while
xml namespace
http://moyaproject.com

Repeat a block of code while a condition is true, or a <break> tag is reached.

Note Be careful not to create an infinite loop with this tag.

Example

<let i="5"/>
<while test="i gt 0">
    <echo>${i}</echo>
    <let i="i-1"/>
</while>
attributes
name purpose type required? default choices
test Condition expression Yes
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes