Transform XML data into a Dynamic object type.
public static class XmlExtensions
public static bool HasMember(ExpandoObject obj, string member)
Test to see if a particular member exists in the XML.
The ExpandoObject containing the XML to convert into a dynamic type.
The member to search for in the XML.
public static dynamic ParseDynamic(this XmlDocument xml,
List<string> listNodes = null)
Parse an XmlDocument into a dynamic type.
The XmlDocument containing the XML to convert into a dynamic type.
No idea what this does! ?????.
public static dynamic ParseDynamic(this XDocument xml,
List<string> listNodes = null)
Parse an XDocument into a dynamic type.
The XDocument containing the XML to convert into a dynamic type.
No idea what this does! ?????.
XmlDocument x = new XmlDocument();x.LoadXml("MyFile.xml");result.DynamicResult = x.ParseDynamic();