I am having some trouble parsing an XML file with the root node having multiple namespaces. I want to get a list of nodes \'object\' with type string containing \'UserContro
Try using the namespace:
var ns = new XNamespace("http://www.springframework.net"); IEnumerable values = webXMLResource.Descendants(ns + "object");