Multiple-Outputs - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Syntax
loop-action action
Parameters
action
Guidelines
The loop-action command specifies the name of the existing action within the
current for-each action. The output context of the for-each action replaces the
output context of the named action. If the output context of the for-each action
and the named action are the same and the value of the multiple-outputs
command is on, the final output context uses the same name and appends a
number.
This command is meaningful only when the action type (as specified by the type
command) is for-each.
Related Commands
input, iterator-count, iterator-expression, iterator-type, multiple-outputs, type
Examples
v Specifies that the transformer action runs one time for each item element in the

multiple-outputs

Indicates whether to generate an output context for each iteration or result.
Syntax
multiple-outputs {on | off}
Parameters
on
off
Guidelines
The multiple-outputs command specifies that for-each and results actions should
generate multiple output contexts. When enabled and the output context is ctx, the
iterations or individual results generate separate contexts (ctx_1, ctx_2, and so
forth).
This command is meaningful only when the action type (as specified by the type
command) is for-each or results.
Related Commands
iterator-count, iterator-expression, iterator-type, loop-action, output, type
536
Command Reference
Specifies the name of an existing action to run.
INPUT context.
# type for-each
# input INPUT
# iterator-type xpath
# iterator-expression //*[local-name()='item']
# loop-action transformer
Generates multiple output contexts.
(Default) Generates a single output context.

Advertisement

Table of Contents
loading

Table of Contents