Lukas Kubin wrote: > > How can I use XMLMind to include multiline parts of files using the > <programlisting> element? When I save such document and then re-open it, > it removes newlines, so whole the listing is joined into one line. I > always need to repair this "by hand" which is confusing.
The DocBook DTDs coming from oasis does not contain the proper xml:space="preserve" declarations needed by XXE. The DocBook 4.1.2 DTD bundled with XXE has been modified to precisely to implement the behavior you expect. This is described in http://www.xmlmind.com/xmleditor/_distrib/docs/user/userguide5.html#id.s5. If you are saying this because you are trying to use the DocBook 4.2 DTD downloaded from oasis, just tell me and I'll made patch_config.zip available for download. This zip file patches the config/ subdirectory of XXE to add a very simple support for DocBook 4.2.

