.NET-ey way to convert XML-encoded/escaped entities into normal characters/HTML?

G

Guest

I've written an app to parse an XML RSS feed. Some of the content in that
RSS feed has entities properly encoded for XML, e.g.:

UW's Hawes To Enter NBA Draft
High school's 'No-shush' to retire

My app reads the content using XmlDocument/XmlNodeList and then commits
selected pieces to my DB.

I want to know the best/easiest/most reliable/most complete way to translate
entities that are escaped as in the example above and convert them to normal
characters or entities. Am I stuck writing a translation function, or is
there a .NET class or method set that I can plug into?

Thanks,
-KF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top