My point was that I needed to add: xmlns:xinclude CDATA #FIXED "http://www.w3.org/2001/XInclude"
to the <!ATTLIST of chapter and remove: xmlns:xinclude CDATA #FIXED "http://www.w3.org/2001/XInclude" from the <!ATTLIST of xinclude:include for the example to work. At least, in my environment. What does XInclude do if the included document has an internal document type declaration that redefines the content models of elements, or when the included document is using DocBook v4.1.2 and the including document is using DocBook v4.2 ?! nik ----- Original Message ----- From: "Elliotte Rusty Harold" <[EMAIL PROTECTED]> To: "Nicholas Atkinson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: 06 December 2002 15:30 Subject: Re: DOCBOOK-APPS: XInclude doesn't validate with xmllint > At 2:53 PM +0000 12/6/02, Nicholas Atkinson wrote: > >In the environment I'm using, that won't validate. Though I'm not saying > >it's wrong! > > Yes, because you're including in different places than I am. Putting > XInclude into the regular DTD would require putting it essentially > everywhere. Putting it into the internal DTD subsets instead allows > it to be positioned appropriately for each individual document. Much > cleaner! > -- > > +-----------------------+------------------------+-------------------+ > | Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | > +-----------------------+------------------------+-------------------+ > | XML in a Nutshell, 2nd Edition (O'Reilly, 2002) | > | http://www.cafeconleche.org/books/xian2/ | > | http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ | > +----------------------------------+---------------------------------+ > | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | > | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | > +----------------------------------+---------------------------------+