Closed ericnewton76 closed 7 years ago
This is most likely an issue with XDT itself, but we will take a look before the next update.
Thanks for opening this issue on Github. I was not aware that bugs/requests where collected here :) I have also requested a change for this kind of trouble: http://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5/view/Discussions#6969
hope to see this fixed in a next release. keep up the good work!
This type of whitespacing is always removed, even in the native System.Xml
reader. As it's stated here and here, the whitespace in an XML tag is irrelevant to most readers. This being the case, XDT (the transformation lib that SC uses) also ignores this whitespace. That being said, whitespace outside of tags is preserved by default.
Closing as this is an underlying limitation of the XML API being used.
Is this possible? I now its passing through an inner library, but preserving the whitespace would be nice.
(original web.config)
(transformer)
(actual output)
(anticipated output)
I'm hoping that its just specifying
PreserveWhitespace
somewhere