C# example
XDocument doc = XDocument.Load("http://localhost:8153/some.xml");
var query = from node in doc.Descendants("node")
select new { ff = node.Element("ff").Value, xx = node.Element("xx").Value };
foreach (var ele in query)
{
System.Console.WriteLine(" HEY " + ele.ff);
}
Assuming the xml looks like this
<root>
<node>
<ff>hey</ff>
<xx>Hello</xx>
</node>
</root>
0 comments for ".NET offers easy XML parsing"
There are currently no comments.