Scripting/Server/Classes/XML
Methods and functions
- XmlDocument – Creates a document object bound to a file path.
- doc.LoadFile / doc.SaveFile – Reads/writes the file.
- doc.FirstChild – First top-level XmlElement (optionally the first with this tag name).
- doc.LinkChild – Attaches an element at the top level.
- doc.Clear – Empties the document.
- XmlElement – Creates a new element with that tag name.
- el.FirstChild / el.NextSibling – Walk the tree.
- el.LinkChild / el.LinkSibling – Attach a child / a sibling after it.
- el.RemoveChild / el.RemoveSibling – Detach elements.
- el.GetAttribute / el.SetAttribute / el.RemoveAttribute – Attributes.
- el.Clear – Remove all children and attributes.
Categories: Server classes