While XXE will do the right thing with <literallayout>, <screen>, etc. in a valid DocBook document, if you use XXE to edit an invalid document, the whitespace gets normalized in all elements, which is somewhat unfortunate (especially if you save the perhaps-now-valid but lacking-whitespace-formatting document).
If there's an easy way to preserve the whitespace in elements for which the DTD specifies that it should be (even if the document doesn't validate against the DTD), it would be a nice enhancement for XXE. After all, it never hurts to preserve whitespace. This isn't a critical problem, as XXE makes it difficult to generate invalid documents, but my co-workers (who can't shake that emacs addiction :-) threw this problem out as "another reason to shun xxe" (I would call it "another reason to shun editors like emacs that allow you to create invalid documents") and it would certainly be nice to impress them once again with the superiority of the best WYSIWYG XML editor around. @alex -- mailto:dupuy at sysd.com

