3. Content Rule
( arg-conditions , arg-actions )
The <do-while> action 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 mode="numeric" name="counter" op="not-gt">10</if-local-variable>
</and>
</arg-conditions>
<arg-actions>
<do-trace-message color="yellow" level="0">
<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
- conditions argument
- arg-actions
- actions argument
Attribute Value(s) Default Value disabled true | false
true if this element is disabledfalse notrace true | false
false
( arg-conditions , arg-actions )
- actions
- actions that are performed by a <rule>
- arg-actions
- actions argument
Top Elements || All Elements || Tree