This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Is there any way to get the system directory or the full path to thecurrent xsl file?
- To: xsl-list at mulberrytech dot com
- Subject: Re: Is there any way to get the system directory or the full path to thecurrent xsl file?
- From: David_Marston at lotus dot com
- Date: Wed, 13 Sep 2000 13:30:46 -0400
- Reply-To: xsl-list at mulberrytech dot com
Aaron Miller writes:
>I'm trying to include another xsl file into the one I'm using, and for
>some reason, the href attribute of the include must have an absolute
>file path for this to work.
Xalan supports relative file paths, and I believe several other
processors do. So the question becomes: relative to where? The answer
depends on the environment in which you're running the processor.
>Otherwise the xslt processor looks in the wrong directory for the file.
>What I would like to do to fix this is simply read the xsl root
>directory pathname into a variable, and attach it to the filename that
>way. Can this be done?
The path can be passed in via a parameter, but you can't use the
parameter in xsl:include!
.................David Marston
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list