Class XmlUtil
Loads System.Xml.Linq.XElement and System.Xml.Linq.XDocument in a safer way.
public static class XmlUtil
Namespace: Au.More
Assembly: Au.dll
Inheritance
object
XmlUtil
Methods
| Name | Description |
|---|---|
| LoadDoc(string, LoadOptions) | Loads XML file in a safer way. Uses System.Xml.Linq.XDocument.Load and filesystem.waitIfLocked. |
| LoadElem(string, LoadOptions) | Loads XML file in a safer way. Uses System.Xml.Linq.XElement.Load and filesystem.waitIfLocked. |
| LoadElem(out XNamespace, string, LoadOptions) | Loads XML file with a namespace. |
| LoadElemIfExists(string, string, LoadOptions) | If XML file exists, loads it (calls XmlUtil.LoadElem), else creates new element or returns |