Customize the DocBook DTD -- it's meant to be customized. You can easily make<xi:include> valid whereever you need it.
Here's how we do it, just to prove the point: http://lists.oasis-open.org/archives/docbook-apps/200210/msg00038.html Kind regards, Peter Ring -----Original Message----- From: Cameron Shorter [mailto:[email protected]] Sent: 6. januar 2003 11:51 To: xmleditor-support at xmlmind.com Subject: [XXE] <xi:include> docbook and xml formatting Hi, I'm using XXE to write docbook with <xi:include> tags (which allows you to import one docbook file into another). I describe the process in our developers guide here: http://geotools.org/gt2docs/developersguide.html#modulardocumentation Unfortunately, <xi:include> tags mean that the master document is not valid XML anymore which means that XXE has a couple of problems (which I'm hoping you may be able to address). 1. When I save the master document with invalid XML, the formatting is lost and all <return> characters are removed. :( 2. It would be nice if XXE could display the <xi:include> tags so that they can be edited. 3. It would be even better if the <xi:include> tags could be resolved, and the sub documents imported into the master document so that I can view everything all at once. (This may need to be an option for very large documents). Regards, Cameron Shorter http://cameron.shorter.net Open Source Developer http://mapbuilder.sourceforge.net Senior Software Engineer http://www.adi-limited.com/ -- XMLmind XML Editor Support List xmleditor-support at xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support

