Thursday, March 5, 2009

Safe XML

Recently I came accross a very cool namespace when I was searching for a safe way to handle XML-output.

System.Security.SecurityElement.Escape(your string);

The System.Security namespace also have a lot of other nice functions - take a look, and I bet you will find some nice functions you have handcoded yourselv before.

0 comments: