[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Include files with relative path

Subject: Re: Include files with relative path
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Wed, 30 Jan 2002 17:59:14 +0100
include file relative path
"Miguel Angel Medina Lopez" <mamedina@xxxxxxxxxxxxxxxxx> wrote:
> I want to include a xsl file within other and use <include> tag. The problem
> is that the file that use <include> is call with a file:// URI, and I want
> to include using relative path, however, if I use <include
> href="../included.xsl"/> an error occur (not file found).

The relative URL is resolved against the location of the style
sheet which does the include. For example, if you use 
then <xsl:include href="../include.xsl"/> will be resolved to
If include.xsl includes ../baz.xsl, this will be resolved to
(i think)
Check whether your files are all in the expected locations.
You may want to check your stylesheet with Saxon, which IIRC
mentions the absolute URL of the file it doesn't find, this
would surely help you.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.