This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Relative path in include statement
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Relative path in include statement
- From: "Colin Gibson" <colin at skcomputing dot ltd dot uk>
- Date: Wed, 7 Nov 2001 08:35:59 -0000
- Envelope-to: XSL-List@lists.mulberrytech.com
- Organization: SK Computing Ltd
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
I'm having a problem with relative path in an include statement. My XSL has
a line:-
<xsl:include href="./subdir/extra.xsl">
When I run Xalan from the command line the stylesheet works fine but when
embedded within java I get an XSLProcessorException stating that
"file:e:/data/sapphire/subdir/extra.xsl" was not found. I'm using Xalan-J
1.2.2 from Apache.
Am i forced to use absolute paths or is there a workaround?
Thanks
Colin
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list