I\'m trying to parse an XML document. The document in question is an AppxManifest file.
An example document looks like this:
You have to use xml namespace specifically to select them. consider
"//*[local-name()='Applications']/*[local-name()='Application']"
in your case this code may also work well:
var doc = new XmlDocument();
doc.LoadXml(xml);
var nsmgr = new XmlNamespaceManager(doc.NameTable);
nsmgr.AddNamespace("a", "http://schemas.microsoft.com/appx/2010/manifest");
var nodes = doc.SelectNodes("//a:Applications/a:Application",nsmgr);