Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Sep 17, 2008 07:07 AM|LINK
Hey, you would need to convert your XMLDocument to an XDocument/Xelement to be able to use it with LINQ.
XElement elements = XElement.Load(pathToFile);
var ranges = from r in elements.DescendantsAndSelf("range")
foreach (var x in ranges)
//do your work here.