How to read XSL from jar present in applications l
i want to include 2nd xsl in 1st xsl
My both xsl are in same package and those are in jar in applications lib directory
then how to make 1st xsl aware of 2nd xsl's path
com/aaa/bbb/FirstXSL.xsl
com/aaa/bbb/SecondXSL.xsl
Both xsl are in following jar and JarContainingXSL.jar is in lib of application
JarContainingXSL.jar
com/aaa/bbb/FirstXSL.xsl
com/aaa/bbb/SecondXSL.xsl
FirstXSL.xsl
<xsl:stylesheet>
<xsl:include href="SecondXSL.xsl"/>
</xsl:stylesheet>
if I use following way then it works ..but i this cant help me
<xsl:include href="jar:file:/E:/ApplicationRoot/WEB-INF/lib/JarContainingXSL.jar!/com/aaa/bbb/SecondXSL.xsl"/>
Do u know any other way?
|