This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Re: Advantages of XInclude?
On Tue, Nov 12, 2002 at 03:18:15PM -0500, Norman Walsh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> / Bob Stayton <bobs@caldera.com> was heard to say:
> | Unfortunately, there is no easy answer because Xinclude
> | is such a flexible mechanism. It all depends on how
> | you use it.
>
> IMHO, the right answer for DocBook is probably to do xinclude before
> validation. This is possible using the XNI interfaces in Xerces, though
> I don't know of any code that implements it that way (yet).
For xmllint, libxml2 command line tool, use:
xmllint --xinclude --postvalid document.xml
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/