Filter - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Parameters
url
output-context
Guidelines
A fetch action retrieves a remote resource for use in a Processing Rule, You can
use any protocol-specific URL when addressing the target resource.
Examples
v Retrieves the resource that is referenced by the doc variable in the default
v Retrieves the count.xsl style sheet from the store: directory and stores it in the
v Retrieves the simple.xsl style sheet and store it in the tmp1 context.

filter

Adds a filter action.
Syntax
filter input-context stylesheet
Parameters
input-context
stylesheet
Guidelines
A filter action accepts or rejects a document.
Filters differ from XSL transformations in that filters produce no output. Filters are
generally used to propose conditions against which a candidate document is
evaluated. They result in an accept or reject decision.
Filters are implemented from a Processing Policy. A Processing Policy enables a
DataPower service to select an appropriate style sheet with which to filter or
transform an input document. A style sheet can be used in conjunction with, or
instead of, processing instructions that are in the input document.
Specifies the resource to be fetched and can be expressed as a URL or as a
var:// URL that expands to a URL.
Specifies the context in which to store the retrieved resource.
context and stores it in the TestIt context.
# fetch var://local/doc TestIt
#
count context.
# fetch store:///count.xsl count
#
# fetch https://sona/TestBase/simple.xsl tmp1
#
Specifies the context that contains the document to be filtered. Specify
INPUT to use the initial policy input, which is the original client request or
server response.
Specifies the style sheet to filter the source document, and can take the
form of a URL or of a var:// URL that expands to a URL.
Chapter 103. WS-Proxy Processing Rule configuration mode
871

Advertisement

Table of Contents
loading

Table of Contents