Formatting With 1.4

Apr 9, 2013 at 12:02 AM
Hello,

I've been using version 1.2 for a project and recently had the need to add this same functionality to another project, so I grabbed version 1.4 and started using, but noticed that when performing the transform almost all the formatting is removed from the transformed file. I say almost because comments/commented nodes are still formatted properly. Version 1.3 does keep the formatting as well, so I'll use that for the time being.

Thanks for the great tool.
Coordinator
Apr 9, 2013 at 1:45 AM
Hi,

Could you provide an example of formatting xml and transformation?

Thanks,
Den
Apr 10, 2013 at 4:12 PM
Hi,

Here are two tests files I created and had the same issue with:

Web.config: http://pastebin.com/pW5Jk49q
Web.Debug.config: http://pastebin.com/gMamFtJE

Thanks,
Mark
Coordinator
Apr 25, 2013 at 6:12 AM
Hi Mark,

I verified your issue. Just set the "pw" command (or "preservewhitespace") and everything will start work again as before.

Thanks,
Den