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:
   http://www.w3.org/TR/xmlbase/
But this may affect all other URI-References made under that element.
In a nutshell I would suggest to avoid this.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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