Re: [xml] attach a local catalog



On Mon, Sep 02, 2002 at 12:12:03AM -0400, Michael Rothwell wrote:
Hi there --

What's the best way to attach a local catalog to a stylesheet document, 
so as to affect the resolution of hrefs for  xsl:include and xsl:import?

  Use the catalog PI
    <?oasis-xml-catalog catalog="http://example.com/catalog.xml";?>
in the stylesheet itself. This is independant of XSLT, it's a feature of
the XML Catalog system:

http://www.oasis-open.org/committees/entity/spec-2001-08-06.html#oasis-er-tc-abc

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]