This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: XIncludes
- From: Damian Kohlfeld <damian at kohlfeld dot com>
- To: Stefan Bylund <steby at enea dot se>, docbook-apps at lists dot oasis-open dot org
- Date: Wed, 12 Mar 2003 13:00:30 -0600
- Subject: Re: DOCBOOK-APPS: Re: XIncludes
- References: <3E6F01AA.ABDC3EDE@enea.se>
Thank you. I'm trying both Xincludes and xmllint with much success.
-Damian
----- Original Message -----
From: "Stefan Bylund" <steby at enea dot se>
To: <docbook-apps at lists dot oasis-open dot org>; <damian at kohlfeld dot com>
Sent: Wednesday, March 12, 2003 3:45 AM
Subject: DOCBOOK-APPS: Re: XIncludes
> Hi Damian,
>
> I first tried xincluder but I soon found out that xmllint is more fully
> featured. I use the following command to resolve all xincludes before
invoking
> the XSLT processor (Saxon):
>
> xmllint --xinclude --catalogs document.xml > resolved.xml
>
> Note that xmllint uses the SGML_CATALOG_FILES environment variable to find
the
> catalog(s).
>
> The xmllint tool is part of libxml2 which is located at
http://xmlsoft.org/. It
> is also a very good validating XML parser; I use it the following way:
>
> xmllint --xinclude --postvalid --noout --catalogs document.xml
>
> /Stefan
>
>
> Damian Kohlfeld wrote:
> I use xerces/xalan/fop and I believe Xerces doesn't handle XIncludes at
this
> time. What would you recommend for handling XIncludes?
>
> I looked at http://xincluder.sourceforge.net, would this be the way to go?
>
>