I. DOM (Document Object Model)
Defines a set of interfaces for the parsed version of an XML document. The parser reads the entire document and then builds an in-memory tree structure, which can then be manipulated by code using DOM interfaces.
Advantage: The entire document tree resides in memory, making it easy to manipulate; it supports multiple functions such as deletion, modification, and reordering.