Resolving entities when reading XML
I've got some XML stored in my database that has encoded up an apostrophe character as &39; and I'm wondering what I need to do special when using C# to read it back in (to a string variable) to translate it back? Right now I'm just doing a FirstChild.Value on the thing -- is there some sort of "unescape" function, either as part of the XML library itself or on string itself? I'm a convert over from Java/Ruby so I'm sure my vocabulary is off - googling for "C# unescape" isn't really getting me the kind of results I need :-/.
Thanks!
D
|