Re: [xslt] setting base path for included files

On Thu, Jun 13, 2002 at 11:02:53PM +0200, Łukasz Kalita wrote:
> Hi,
> Is there a way to set a base path, like for example /web/files/xsl/
> so that one can use xsl:include without having to supply
> the full path.

I don't think this is possible theorically. Since libxml2 implements
the XML Base specification, you can put an xml:base attribute one one
of the ancestors elements, I think this will work:
But this may affect all other URI-References made under that element.
In a nutshell I would suggest to avoid this.


Daniel Veillard      | Red Hat Network  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]