Read XML using XmlDocument.LoadFromUriAsync(UrlString)?
问题 I am trying to read a bit of XML and want to read it using the code below as this is for a metro windows 8 application. I could use some help though on how to parse out each node/element etc. Thanks! private void Button_Click(object sender, RoutedEventArgs e) { Uri UrlString = new Uri("http://v1.sidebuy.com/api/get/73d296a50d3b824ca08a8b27168f3b85/?city=nashville&format=xml"); var xmlDocument = XmlDocument.LoadFromUriAsync(UrlString); text1.Text = xmlDocument.ToString(); } 回答1: It's hard to