You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Meukens, Kris" <kr...@eds.com> on 2000/07/12 18:39:13 UTC

PLEASE HELP: setting stylesheet root directory for relative Style sheet URIs in Apache Xalan

Hi,

When I have an XML file (e.g. file://C:/xml/test.xml) with a relative
stylesheet URI (e.g. ../xsl/test.xsl) included, apparently Xalan resolves
that by adding the current directory (e.g. c:\dir\program) to the relative
URI.  This is obviously not correct (file://C:/dir/program/../xsl/test.xsl
vs. file://C:/xsl/test.xsl).  Is there a way to tell Xalan that the URI is
relative against the XML URL instead of the current directory?

Regards,
Kris.