XmlHelper.ToHashtable method
Converts an XElement into a Hashtable. Nested elements become nested Hashtables; repeated elements become lists. Attributes are stored as keys prefixed with “@”, xsi:nil=”true” becomes null.
public static Hashtable ToHashtable(XElement element)
| parameter | description |
|---|---|
| element | The XML element to convert. |
Return Value
A Hashtable representation of the XML element.
See Also
- class XmlHelper
- namespace Kestrun.Utilities