Wednesday, November 30, 2011

Escaping XML

I found out about a neat function which can escape the XML content.

InnerXml = System.Security.SecurityElement.Escape(stringtoescape);
               
A simple inbuilt class like this can save you some time in trying to write your own function.


No comments:

Post a Comment

All Blogs so far ...