Iterator-Type; Log-Level - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

iterator-type

Indicates the iteration type for the current for-each action.
Syntax
iterator-type {count | xpath}
Parameters
count Indicates that iterations are based on a fixed count.
xpath Indicates that iterations are based on each XPath expression match.
Guidelines
The iteration-type command indicates whether a for-each action either run a fixed
number of iterations or runs one time for each XPath expression match in the input
context.
v To run a fixed number of iterations, use the iterator-count command.
v To run one time for each XPath expression match, use the iterator-expression
This command is meaningful only when the action type (as specified by the type
command) is for-each.
Related Commands
iteration-count, loop-action, iteration-expression, type
Examples
v Specifies that the transformer action runs one time for each item element in the
v Specifies that the transformer action runs 4 times.

log-level

Specifies the priority of the message that is generated by the current log action.
Syntax
log-level priority
534
Command Reference
# type for-each
# input INPUT
# iterator-type xpath
# iterator-expression //*[local-name()='item']
# loop-action transformer
command.
INPUT input context.
# type for-each
# input INPUT
# iterator-type xpath
# iterator-expression //*[local-name()='item']
# loop-action transformer
# type for-each
# iterator-type count
# iterator-count 4
# loop-action transformer

Advertisement

Table of Contents
loading

Table of Contents