I have a .Net webserivce that accepts XML in string format. XML String sent into the webserivce can represent any Object in the system. I need to check
XML
Don't forget a powerfull contender, LINQ to XML!
XElement root = XElement.Load(myfile); var foos = root.Descendants("Foo").Where(e => e.Attribute("bar") != null);