XML reader

1
2
String xml = new WebClient().DownloadString(@"http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml");
XDocument doc = XDocument.Parse(xml);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Snippet to read a downloaded xml

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.