I have in an xsl file a transform that contains <TEXTAREA></TEXTAREA> (no spaces) and when it is transformed the results are
<TEXTAREA>
</TEXTAREA>
I can’t find the right properties to stop this from happening.
We are using XslCompiledTransform and XmlTextWriter
Thank you.
XmlTextWriter has a Formatting property that by default is set to Formatting.None. Check that this is the case – if this property were set to Formatting.Indent it would account for the unwanted line-feed.