How to define a standard transform action that uses a stylesheet to transform an XML
document.
- Drag the Transform icon to the
configuration path.
- Double-click the Transform
icon.
- In the Input field, specify the context of the
message to process.
- In the Transform file field, specify
the location of the stylesheet for the action.
- If the stylesheet is not stored on the DataPower® Gateway, specify its
location or a variable that expands to a URL. If a variable, use the
var://context/name form.
- If the stylesheet is in the store: or local:
directory, select the stylesheet.
- Optional: From the URL rewrite policy list, select the
policy to rewrite the stylesheet URLs that are extracted from the incoming document.
- Set the Asynchronous property to indicate
whether to process asynchronously. When enabled, the action does not need to complete before the
rule starts processing its next action.
- Optional: Click the Advanced tab.
- Select Enable GatewayScript debug
from the actions list to debug a GatewayScript program. The program can be called from a
gatewayscript element or a gatewayscript() function in the
stylesheet that you specify in the Transform file field.
- In the Output field, specify the context of the
message after processing.
- Click Done.
What to do next
If this action is the last one for the rule, click Apply
policy. Otherwise, drag another icon to the configuration path.