<arg-conditions>で指定された条件がtrueに評価されている間、<arg-actions>で指定されたアクションを繰り返します。
<do-set-local-variable name="counter"> <arg-string> <token-text>1</token-text> </arg-string></do-set-local-variable><do-while> <arg-conditions> <and> <if-local-variable name="counter" op="not-gt" mode="numeric">10</if-local-variable> </and> </arg-conditions> <arg-actions> <do-trace-message level="0" color="yellow"> <arg-string> <token-text>Counter = </token-text> <token-local-variable name="counter"/> </arg-string> </do-trace-message> <do-set-local-variable name="counter"> <arg-string> <token-xpath expression="$counter + 1"/> </arg-string> </do-set-local-variable> </arg-actions> </do-while>
( arg-conditions , arg-actions )