Patrick Campbell wrote: > I have enabled indenting on the save tab. I still do not get the > desired results. I have attached the original file from our developers > and the one that has been edited by xmlMind.
Your document is poorly indented because it is *invalid*. Unless you have modify it, the DocBook DTD does not allow a <section> to have an attribute such as xmlns:xi="http://www.w3.org/2001/XInclude". If, using a *DTD*, you want XXE to do its best with XIncludes, you need to keep all XInclude info. *local* to the XInclude elements and you need to use an "xi" prefix. Example: --- <para>Another xi:include "email.xml" here: <xi:include href="email.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />.</para> --- > Can you tell me how to get the edited file from xmlMind to look like the > original? You can't. See my anwer to your previous email. However, if you specify a very large "Max. line length", example 100000000, in the Options dialog box, Save tab, Indent frame, you'll get something close to your Original.xml. Of course, please first fix your document (which is invalid). > (Where do I specify the schema or DTD?) Use the standard ways to do that: <!DOCTYPE ...> or xsi:schemaLocation="...". OR do not specify any schema or DTD at all (typically, for parts of a master document) and in this case, you need to learn about XXE configuration files. See http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/ar01s01.html