I have built a very simple XAML RSS reader in WPF, using the XMLDataProvider to get the RSS data. That XAML looks like this:
<XmlDataProvider x:Key="rssData" XPath="//item" Source="http://www.theglobeandmail.com/?service=rss" IsAsynchronous="True" IsInitialLoadEnabled="True" />
Then, I display the description provided by the RSS feed inside a ListItemTemplate like this (irrelevant details elided):
<TextBlock TextWrapping="Wrap" Text="{Binding XPath=description}"/>
The problem is that any escaped characters in the description come through un-processed. ie: Open letter denounces mayor&146;s plan, etc, etc.
The &146; of course, should be converted to an apostrophe. I could write a binding converter to do this reasonably easily, but I don't think I should have to. What simple thing am I missing?
Thanks in advance for any help.