Causes the actions specified by <arg-actions> to be repeated while the conditions specified by <arg-conditions> evaluate to true.
<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>
|
Element |
Description |
|---|---|
|
Conditions argument. |
|
|
Actions argument. |
|
Attribute |
Possible Values |
Default Value |
|---|---|---|
|
disabled |
true | false True if this element is disabled. |
false |
|
notrace |
true | false True if this element should not be traced during execution of the policy. |
false |
( arg-conditions , arg-actions )
|
Element |
Description |
|---|---|
|
Actions that are performed by a <rule>. |
|
|
Actions argument. |