Subject: RE: [xsl] Relative path in include statement From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Wed, 7 Nov 2001 08:53:03 -0000 |
> 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. Make sure that the processor knows the base URI of your stylesheet, by using setSystemId() on the relevant Source object. If you supply the stylesheet as an input stream, the base URI isn't known, so relative URIs can't be resolved. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Relative path in include stat, Colin Gibson | Thread | RE: [xsl] Relative path in include , Nouwens, H.J.P. |
[xsl] Relative path in include stat, Colin Gibson | Date | Re: [xsl] matching multiple times, , Goetz Bock |
Month |