cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: Logicsheets, and relative paths
Date Wed, 31 Jan 2001 17:39:34 GMT
"Peter C. Verhage" wrote:
> I've created a logicsheet with uses the "document(...)" function of XSLT to
> parse a certain XML (config) file. In the main XML file, which uses the
> logicsheet, I specify the path to the other XML file. Unfortunately this can
> only be a absolute path, because if I use a relative path, it will be
> relative to the path wherever the logicsheet is within the system. How can I
> overcome this problem, and use relative paths, that are relative to the main
> XML file?

The only way to do it that way is to make all your paths relative to
the XSL file.

If you want to include documents relative to the XML path, and do not
mind having the include statement in the original XML document you
can use XInclude or the util:include-file tag.

View raw message