hi xsl-developers,
I've made a patch to
<jakarta-taglibs>/xsl/src//src/org/apache/taglibs/xsl/ApplyTag.java
from the snapshot 2001-Oct-16.
It's purpose is to set the "user.dir" property to the root-directory of
the servlet (or jsp-webapp). This allows to specify context relative
path expressions inside stylesheets (e.g. for "xsl:include" statements).
Before they had to be specified relative to the directory you've stared
the JavaVM from (e.g. $TOMCAT_HOME or $JBOSS_HOME).
I am not sure wheter this is the most appropriate location for the
patch, as this only fixes the behavior for "xsl:apply", but this is the
only tag I am using at the moment.
Ciao
Stefan
--
< W E B M A C H E R >
EDV+INTERNETSERVICE GMBH
POST: August Bebel Str. 69
04275 Leipzig
FON: +49 341 30 34 832
FAX: +49 341 30 34 840
WEB: www.webmacher.de
271a272
>
>System.setProperty("user.dir",pageContext.getServletContext().getRealPath("/"));