clasa wrote: > > I have searched the archives but haven't found any answer relating to the > following question: > We are facing a problem where we want to convert xml files produced with XML > Mind 3.5.1 and Docbook 4.2. When the xml-file is opened in notepad
> or any other standard texteditor the xml contains uncontrolled spaces and > control characters in the file. First, please make sure to use a text editor which supports the encoding you have chosen for you XML files: ISO-8859-9 (Turkish). Moreover, on Windows, please use write (AKA wordpad) instead on notepad because notepad does not support Unix-style end of lines. XXE always uses Unix-style end of lines: "\n" and not DOS-style end of lines: "\r\n". Note that, in XML, both end of lines are valid and that we are free to choose "\n". > We would like to have a clean xml file. What is a *clean* XML file? XMLmind XML Editor always creates *well-formed* XML file, whether indented or not. Well-formedness is defined in the XML standard. Cleanness is not. > Is there a setting in XML Mind to save the xml file without pretty-print > (indents) and control characters? > > We have tried Options->Save and unchecked the indent checkbox > Check again the Indent checkbox, specify 0 (zero) in the "Indentation" field, specify a very large number (e.g. 10000000) in the "Max. line length" field. More info in http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.dialog.PreferencesEditorDialog.html#saveOptions If you don't like this style, then you'll have to switch to another XML editor because this the best we can do for you.

