Fetch; Filter - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

v Applies the XPath expression //games/url to the INPUT context and stores the
v Applies the XPath expression referenced by the local variable xpath and stores
v Applies the XPath expression referenced by the local variable xpath and stores

fetch

Adds a fetch action.
Syntax
fetch url output-context
Parameters
url
output-context
Guidelines
You can use any protocol-specific URL when addressing the target resource.
Examples
v Retrieves the resource referenced by the variable doc from the default context
v Retrieves the style sheet from the store: directory and stores it in the count
v Retrieves the specified style sheet and stores it in the tmp1 context.

filter

Adds a filter action.
Syntax
filter input-context URL
562
Command Reference
# extract INPUT three //games/url
#
result in the variable url within the three context.
# extract INPUT three //games/url var://local/url
#
the result in the variable url in the three context.
# extract INPUT three var://local/xpath var://local/url
#
the result in the variable url in the three context. Note the explicit addressing of
the optional variable.
# extract INPUT three var://local/xpath var://three/url
#
Identifies the resource to be fetched and can be expressed as a URL or as a
variable that expands to a URL.
Identifies the context in which to store the fetched resource.
and stores it in the TestIt context.
# fetch var://local/doc TestIt
#
context.
# fetch store:///count.xsl count
#
# fetch https://sona/TestBase/simple.xsl tmp1
#

Advertisement

Table of Contents
loading

Table of Contents