|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Relative path in include statement
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








