camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felixnutella <svend-ole.niel...@vehco.com>
Subject Relative URL for XSL in XSLT component
Date Wed, 02 Jan 2013 16:36:18 GMT
Hi all

I'm quite new at Camel but have managed to get it up and running using a few
custom components/converters...

But..

Is it true that you need to specify an absolute path for the XSL in the XSLT
component? Whenever I try to specify an relative, it comes up with File not
found.

I'm specifying the xslt transformation as: <camel:to
uri="xslt:file://xsl/customer.xsl?transformerFactoryClass=net.sf.saxon.TransformerFactoryImpl&amp;contentCache=false"/>
- this does not work...

If I'm doing it like: <camel:to
uri="xslt:file://C:/Users/USERNAME/Desktop/apache-servicemix-4.4.2/xsl/customer.xsl?transformerFactoryClass=net.sf.saxon.TransformerFactoryImpl&amp;contentCache=false"/>
it works perfectly.

It should be said that Camel is running inside servicemix, which should be
version 2.8.5 if that has any meaning.





--
View this message in context: http://camel.465427.n5.nabble.com/Relative-URL-for-XSL-in-XSLT-component-tp5724794.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message