do-while

<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

属性

属性

有効値

デフォルト値

disabled

false

false

内容の規則

( arg-conditions , arg-actions )

親要素

要素

説明

actions

rule

arg-actions