Daniel Veillard ha scritto: > On Tue, Aug 21, 2007 at 11:48:50AM +0200, Francesco Montorsi wrote: >> Any hint? > > Update your DocBook DTD, this was supposed to be fixed there, by allowing > the namespace dclarations for XInclude on at least some elements. I did that but alone it didn't help.
But still I've found the solution thanks to Thomas Schraitle; I'll report it here for benefit of others interested: > --------------------------------------------- > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" > "http://www.docbook.org/xml/4.4/docbookx.dtd" > [ > <!ENTITY % local.common.attrib > "xmlns:xi CDATA #FIXED 'http://www.w3.org/2001/XInclude'"> > ]> > <book xmlns:xi="http://www.w3.org/2001/XInclude"> > <!-- ... --> > <xi:include .../> > </book> > --------------------------------------------- > > This inserts the xmlns:xi attribute into *every* element. If you want it only > for book, replace "local.common.attrib" with "local.book.attrib". Thanks anyway! Francesco _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
