SyntaxFix
Write A Post
Hire A Developer
Questions
The most straight forward way is to use an XmlWriter object. This can be used to produce valid HTML and will take care of all of the nasty escape sequences for you.