I think this is due to XML's rules about whitespace, which boil down to:
    whitespace is significant and affects content, even a space or newline
between <a>...<b></b></a>.

Those rules make sense when dealing with data (why would you have a newline
at the end of the FIrstName field?), but make human consumption of raw xml
very painful.

I have encountered this problem very often, and it drives me crazy!!

Would it be feasible for xmlMind to offer options to
- "strip all leading and trailing whitespace", and
- "save with indenting=x": x = -1 means no indent at all; 0 or more means
indent to look like an outline.

Thanks.


  -----Original Message-----
  From: xmleditor-support-bounces at xmlmind.com
[mailto:xmleditor-support-bounces at xmlmind.com]On Behalf Of Patrick Campbell
  Sent: Tuesday, April 20, 2004 11:48 AM
  To: xmleditor-support at xmlmind.com
  Subject: [XXE] keeping the xml format


  Hi,



  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.



  Thanks,



  Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040421/7fc2c74f/attachment.htm
 

Reply via email to