Page 1 of 1

Format and indent: keep blank lines

Posted: Sat Jan 03, 2004 4:09 pm
by Manfred
Hi,

the format and indent facility in oXygen is very helpful.

I often browse XML files that have many empty lines inserted for increasing the readability.

When I now format and indent such files all blank lines are deleted! Although the indentation is now ok and enhances the readability the missing blank lines decrease the readability (especially for larger XML files).

Therefore I would like to suggest to keep blank lines or to allow such a configuration in an options dialog.

Thanks.

Manfred

Indenting: xml:space

Posted: Fri Jan 09, 2004 11:29 pm
by adsmart
One thing I seem to recall seeing elsewhere was pretty printing that takes xml:space into account. which is to say that if the value is "preserve" (I think that's the right value) then all the whitespace is preserved. A handy little feature.

Adam

Posted: Fri Jan 09, 2004 11:46 pm
by george
Hi Adam,

Oxygen handles xml:space. The other value for xml:space is "default".

Best Regards,
George