Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.2, 2.0.0, 2.1.0, 2.2.0
-
None
Description
If you use xsl include
<xsl:include href="staff_template.xsl"/>
Then currently staff_template.xsl is expected to be loaded from file system from the folder where Camel was started.
What it should support is to load it relative to the endpoint uri configured and from classpath.
So if you have configured the endpoint as follows
.to("xslt:org/apache/camel/component/xslt/staff_include_relative.xsl")
Then the staff_template.xsl file should be loaded from classpath in the folder org/apache/camel/component/xslt.
Which means the 2 xsl files is in the same location.