This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Re: Advantages of XInclude?
On Wed, Nov 13, 2002 at 10:29:04AM +0100, Janning Vygen wrote:
> Am Dienstag, 12. November 2002 21:39 schrieb Daniel Veillard:
> >
> > For xmllint, libxml2 command line tool, use:
> >
> > xmllint --xinclude --postvalid document.xml
>
> It doesnt work because of xml:base attributes, or am i wrong? It
> complains:
>
> "No declaration for attribute base of element sidebar"
>
> you have to extend the docbook dtd as far as i know.
Right, XInclude requires the addition of xml:base at the inclusion
point (unless the document included and the main one share a base
which makes it unecessary, like if they are in the same directory).
I see no other way than adding xml:base to the DocBook DTD (which would
make sense to me but it's not my call.)
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/