I am returning XML data from the Yahoo GeoPlanet web service using HttpWebRequest
.
I am loading the XML using
XPathDocument doc = new XPathDocument(HttpWebResponse.GetResponseStream())
Next comes:
XPathNavigator nav = doc.CreateNavigator();
If I do nav.Select("places");
or nav.Select("/places");
or nav.Select("//places");
, nothing gets returned!
But if I do nav.select("/*");
, I get the node and doing node.Name
returns places
?