Hi everyone, I have a bunch of classes I want to serialize to XML. There's one public string somewhere however that contains HTML. When I serialize using XmlSerializer, it escapes the illegal characters (< becomes < etc.)
The problem is that I want to feed the serialized versions of those instances into other applications that expect those files to contain valid HTML and are not capable of performing those conversions (or at least, I can't expect them to) so it would be best if everything could be placed within a CDATA-block. Problem: how to accomplish this? If I just concatenate the CDATA-tag onto the string it encodes that as well :-) (which I expected but I gave it a try anyway :)) -Jeroen =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: Guerrilla ASP.NET, 10 Nov 2003 in London and 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnet Guerrilla .NET, 8 Dec 2003, in Los Angeles http://www.develop.com/courses/gdotnet View archives and manage your subscription(s) at http://discuss.develop.com
