<do> repeat a block until a condition becomes true

name
do
xml namespace
http://moyaproject.com

Repeat a block of code until a condition becomes true, or a <break> is reached.

Not that, unlike <while> this tag will execute the enclosed block at least once.

If the until attribute isn't given, the enclosed block will be executed just once.

Example

<let i="1"/>
<do until="i==2">
    <echo>${i}</echo>
    <let i="i+1"/>
</do>
<!-- prints "1" -->
attributes
name purpose type required? default choices
until Condition expression No None
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes