Xformpi - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

v Adds a transformation rule. Transforms the document in the Step2 context with

xformpi

Adds an xformpi action.
Syntax
xformpi input-context URL output-context
xformpi input-context dynamic-stylesheet object output-context
Parameters
input-context
URL
dynamic-stylesheet object
output-context
Guidelines
XSL transformations are implemented by Processing Policies. A Processing Policy
enables DataPower service to select an appropriate style sheet with which to filter
or transform an input document. The selected style sheet can be used in
conjunction with, or instead of, processing instructions in the input document.
Related Commands
convert-http, xform
Examples
v Adds a transformation rule. Transform the original input to the Processing
the style sheet that is referenced by the var://stylesheets/5 variable, and sends
the transformed document to the final destination of the rule.
# xform Step2 var://stylesheets/5 OUTPUT
#
Identifies the context that contains the document transformed by this rule.
Use INPUT to specify the initial policy input, that is the original client
request or server response.
Identifies the style sheet to transform documents that lack internal
processing instructions. Takes the form of a local or remote URL or a
variable that expands to a location.
Identifies the object (for example, an XPath Routing Map) from which the
dynamic style sheet is generated.
Identifies the context that receives the transformed document. Use OUTPUT
to specify the final policy output, that is the transformed client request or
transformed server response.
Policy Rule with internal processing instructions in the XML document and send
the transformed document to the final output of the rule. Uses identity.xsl
style sheet in the store: directory to perform the transform if the document
does not contain processing instructions.
# xformpi INPUT store:///identity.xsl OUTPUT
#
Chapter 62. Processing Rule configuration mode
573

Advertisement

Table of Contents
loading

Table of Contents