OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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?

begin:vcard 
n:Bylund;Stefan
tel;cell:+46 709 714 325
tel;work:+46 8 507 143 25
x-mozilla-html:FALSE
url:http://www.ose.com
org:OSE Systems
adr:;;Nytorpsvägen 5;Täby;;183 23;Sweden
version:2.1
email;internet:steby@enea.se
title:Software Engineer
fn:Stefan Bylund
end:vcard


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]