"A DOM parser translates an XML document into an object model that allows a program to randomly access and alter sections of the document.... The containment (not inheritance) hierarchy of the object model corresponds to the hierarchical structure of the document."