transform
The transform feature applies an XSLT transformation to the content in the body of a message. After the transformation the body content is replaced with the result of the transformation.
Can be used in
proxy, serviceProxy, soapProxy, transport
Syntax
The value of the xslt attribute references an XSLT stylesheet.
<transform xslt="string" />
Listing 1: transform Syntax
Sample
<serviceProxy > <request> <transform xslt="sap2opentrans.xslt" /> </request> <target host="opentrans.server.de" /> </serviceProxy>
Listing 23: Transformation applied to request
<serviceProxy > <response> <transform xslt="classpath:a2b.xslt" /> </response> <target host="a.server.de" /> </serviceProxy>
Listing 23: Transformation applied to response
Attributes
Name | Mandatory | Default | Description | Example |
---|---|---|---|---|
xslt | yes | - | Location of the XSLT stylesheet that will be applied to request and response. | strip.xslt |