Go to new doc!

+49 228 5552576-0


info@predic8.com

transform

Description

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

spring:beans, api, bean, if, interceptor, internalProxy, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy, transport and wsStompReassembler

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 Required Default Description Example
xslt false - Location of the XSLT stylesheet that will be applied to request and response. strip.xslt