Problem with config file transformation

I have a particular block in my web.config that doesn’t to want to transform properly. When I cut and paste the xml in here it doesn’t display correctly so I’m attaching the before and after sections of the config file in a text file.

Notice how the xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” attribute is removed and placed inside the target tags but with :d4p1 instead. The xsi:type attribute is also replaced with d4p1:type. This transformation works just fine on http://webconfigtransformationtester.apphb.com/. Is this an Octopus issue? Any suggestions on how to get this transform to work?

configtransform.txt (1 KB)

I was able to figure out a solution by following the details in this article. http://techhasnoboundary.blogspot.com/2011/08/use-and-transform-nlog-config-in.html