IdXml SOAP Envelope Parsing Dot NET


Dave Bennett 31/03/2014

More on Dot NET parsing for IdXml. It finally occurred to me that I could add namespace definitions to my hearts content to parse any doc (with multiple namespaces defined).

XmlDocument xml = new XmlDocument();
xml.LoadXml(someXmlString);
XmlNamespaceManager ns = new XmlNamespaceManager(xml.NameTable);
ns.AddNamespace(“default”, “http://www.oblix.com/”);
attrNodes=xml.SelectNodes(“/default:ObEventParams/default:ObParamList[@ name=’WfAttribute’]/default:ObParam”, ns);

No Results