TSQL 2005 XML Explicit - CDATA is padded with leading and trailing space?

  • Hi, if I use 'Element' I get <item>bob</item>

    But, if I use CDATA as I need to, I get <item><![CDATA[ bob ]]></item>

    This is in TSQL 2005 via asp.net using C# .NET 3.5

    at this stage I'll have to run regex over it before I output it.

    thx

    Andy

  • Slightly embarrassing...it's simply the way chrome is displaying the xml data - default stylesheet.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply