xsl-list
[Top] [All Lists]

[xsl] XSL Import using relative location from within a jar.

2007-05-30 13:33:07
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>