loop-action
This command specifies the action to run for the for-each action.
Syntax
loop-action action
Parameters
- action
- Specifies the name of the action to run.
Guidelines
The loop-action command specifies the name an action in the for-each action.
The output context of the for-each action replaces the output context of the named action. In the
following situation, the final output context uses the same name and appends a number.
- The output context of the for-each action and the named action are the same.
- The value of the multiple-outputs command is
on.
This command is meaningful only when the action type for the type command is
for-each.
Examples
- Indicate that the
transformeraction runs one time for eachitemelement in theINPUTcontext.# type for-each # input INPUT # iterator-type xpath # iterator-expression //*[local-name()='item'] # loop-action transformer