Nicolai A. wrote:

my issue is that - depending on the xml editor - the indenting structure 
changes.

I'm willing to help but I'm still not sure to understand.

The indenting structure could be 2 very different things:

A) When you open a document in XXE, modify it and save it back to disk, the way the XML source is formatted in the save file.

B) The nesting level of the sections you have created.



hence I emailed you the same file - one edited with atom and the other opened 
with xmlmind xml editor… the second will is ‘screwed up’ after it was opened in 
xmlmind xml editor.


B) cannot happen unless you take very precise actions like using the "Add section" button in the DocBook toolbar. See my previous email.

Therefore you are probably talking about A).

XMLmind XML Editor cannot preserve the way the XML source is formatted (you can all this "indentation" or "pretty-printing").

This limitation is even listed as being a possible show-stopper. See row "Preserves as much as possible the physical contents of an XML file (whitespace, character entities, CDATA sections, etc)" in the "Features" table: http://www.xmlmind.com/xmleditor/features.html

This automatic reformatting of the the XML source happens automatically:

- When you use "File|Save" or "File|Save As".

- When you use "View|XML Source". The XML source displayed this way is exactly what you would get after a "File|Save", hence the ‘screwed up’ indentation.





--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to