Configuring an ESB route with Saxon to allow use of external functions


How do I configure an ESB route with XSLT URI (Saxon) to allow the use of external functions?



You need to use a user-defined transformer factory where secure processing is already turned off.


To do that, the transformer factory should be defined in the route's Spring configuration (click the Spring tab of the route) by adding the following element:

<bean id="myTransformerFactory" class="net.sf.saxon.TransformerFactoryImpl">

Then, the factory myTransformerFactory should be passed at the end of the XSLT URI parameter, as follows:

Version history
Revision #:
4 of 4
Last update:
‎09-07-2017 05:13 PM
Updated by:
Labels (2)