Subject: XSL Import using relative location from within a jar.
From: "Mah, Terry" <terry.mah@xxxxxxxxxxx>
Date: Wed, 30 May 2007 16:34:24 -0400
|
Hello All,
I have a stylesheet that exists within a jar. Is there a way to write a
relative href which points to a url outside of the jar?
Example: bar.xsl exists in: com.company.foo.bar.xsl
location of xsl I wish to import:
../../../user-defined-xsl/import_this_xsl.xsl (the user-defined-xsl
directory is on the same level as the jar file).
...
<xsl:import href="../../../user-defined-xsl/import_this_xsl.xsl"/>
...
Gives an exception. I am using Xalan.
Thanks.
|