3

How do I use this RSS to get the exchange rates so I can use it in my app?

http://www.rba.gov.au/statistics/frequency/exchange-rates.html

001
  • 62,807
  • 94
  • 230
  • 350

2 Answers2

5

Have a look at the System.ServiceModel.Syndication namespace. You can use SyndicationFeed.Load() method like this:

XmlReader reader = XmlReader.Create("http://www.rba.gov.au/rss/rss-cb-exchange-rates.xml");
SyndicationFeed feed = SyndicationFeed.Load(reader);
Kristoffer
  • 834
  • 6
  • 22
0

There is no RDF reader built into the framework which is the format used in the feed exposed by this site so you could use a third party library.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928