Adding a standard transform action

How to define a standard transform action that uses a stylesheet to transform an XML document.

Procedure

  1. Drag the Transform icon to the configuration path.
  2. Double-click the Transform icon.
  3. In the Input field, specify the context of the message to process.
  4. 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.
  5. Optional: From the URL rewrite policy list, select the policy to rewrite the stylesheet URLs that are extracted from the incoming document.
  6. 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.
  7. Optional: Click the Advanced tab.
  8. 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.
  9. In the Output field, specify the context of the message after processing.
  10. 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.