External Stylesheets for Data Transformation

External, third-party XSLT stylesheet can be used for data transformation using the Transform task. This enables you to specify the transformation mapping in your workspace, outside the mediation flow.

It is possible to specify an external XSLT stylesheet for transformation in two ways using reference types.

  • A static reference can be used to select a single (static) stylesheet from a folder in your project.
  • A dynamic reference can be used to select a set of stylesheets from a folder in your project. At run-time one of the stylesheets in the list is used dynamically, based on the value provided for the stylesheetURI element in the Input tab of the mediation task.

For example, if the folder specified for the dynamic reference is MySOAProject/Service Descriptors and the stylesheet is in the folder MySOAProject/Service Descriptors/folder1/sample.xsl, the value that must be provided for the stylesheetURI element would be folder1/sample.xsl.

Note: The stylesheet for a reference must be located in the same project as the mediation flow that uses it.