XSLT
Use the XSLT policy to apply an XSLT transform to the payload of the API definition.
Gateway support
Gateway | Policy version |
---|---|
DataPower® Gateway (v5 compatible) | 1.0.0 |
DataPower API Gateway | 2.0.0 2.1.0 (DataPower API Gateway Version 10.0.4.0 or later) |
This topic describes how to configure the policy in the assembly user interface; for details on how to configure the policy in your OpenAPI source, see xslt.
Note: If you are using the DataPower API Gateway, the input to the
XSLT policy must be
parsed data. One way to produce parsed data is to use a Parse policy before an XSLT policy in your
assembly flow, which provides explicit control of the parse action.
For examples of the OpenAPI definitions of XSLT policies, see XSLT policy examples.
Errors
The following error can be thrown while the policy is being executed:TransformError
- a generic error that captures all errors that occur during the execution of the policy.