Condition - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Parameters
uri
Guidelines
attachment-uri is used only if the action type (as specified by the type command)
is strip-attachments.
Related Commands
type
Examples
v Strips attachments from the specified document.

condition

Specifies a match condition and action for the current conditional action.
Syntax
condition xpath action
Parameters
xpath
action
Guidelines
The condition command specifies an XPath expression as the match criteria and
the name of the action to run when that XPath expression matches. Use this
command to define multiple condition-based clauses. The first XPath expression
that matches against the named input context invokes the corresponding action.
This command is meaningful only when the action type specified by the type
command is conditional.
Related Commands
type
Examples
v Specifies that the conditional action runs the process-request action when the
Identifies a document attachment to be stripped from the MIME multipart
package.
# type strip-attachments
# attachment-uri https://sona/TestBase/simple.xsl
#
Specifies the XPath expression to match against the input.
Specifies the name of the action to run when the XPath expression
matches.
message contains the Request element. Otherwise, the action runs the
process-any action.
# type conditional
# condition //*[local-name()='Request'] process-request
# condition . process-any
Chapter 59. Processing Action configuration mode
527

Advertisement

Table of Contents
loading

Table of Contents