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
  • 59,081
  • 87
  • 224
  • 333

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
  • 994,864
  • 265
  • 3,241
  • 2,902