I am using StringBuilder to build a string containing xml that is
Response.Write() to the browser as an rss feed.
To replace invalide xml chars, I am using code fragments such as
xmlDocument.Append("<description>");
xmlDocument.Append(SecurityElement.Escape(productD escription));
xmlDocument.Append("</description>");
The xml string I generate does validate as a valid rss feed at
http://validator.w3.org/feed/check.cgi
However, when displayed in the browser, the escaped chars are not translated
back to their original chars, so I get displayed text such as :
Here's a new fascinating and fun way to annoy your neighbor's dog.