Patrick Campbell wrote: > > We are using xmlMind for editing files for DocBook and wanted to know if > it is possible to keep the source files in TextPad with the same > formatting, i.e. elements in nested tags. When we make any changes to > the files in xmlMind, all of this formatting is lost and the tags run > one after the other in streams. Our developers are used to seeing xml > files with indented nested tags. We have tried every option on the > options menu, but cannot seem to stop this from happening. Please help.
* Make sure that your documents have been really recognized as being DocBook. If this is the case, the title bar of a document view should display something like "foo.xml : DocBook : DocBook". * By default, all documents conforming to a DTD or to an XML-Schema are saved as nicely *indented* XML files. - Unless the "Indent" check box in the Options dialog box, Save tab, has been unchecked. - Unless you have added/modified a <saveOptions> configuration element in XXE_install_dir/config/docbook/docbook.xxe, common.incl, etc. * Documents which are structurally invalid (i.e. really bad) cannot be properly saved as indented XML files (in such case, you should see a *red* icon at the bottom/left of XXE window). * Some users wants an XML editor to preserve their exact XML formatting because they use version control systems such as CVS. Some XML editors have been designed to do that. This is not the case of XXE, which is not an XML *file* editor, but rather an XML *logical content* editor.

