For docbook XML, consider writing in APT ("Almost Plain Text") and then run aptconvert to create your docbook xml. See http://www.xmlmind.com/aptconvert.html for details. I've only ever seen it used for the docbook DTD, but may have some usefulness for other XML DTDs. Jens