DOM
The Document Object Model is a specification of the representation of XML and other documents from the W3C consortium.
It is a platform- and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure and style of documents.
Document Object Model Level 2, Candidate Recommendation, March 7, 2000.
DOM consists of a set of core interfaces and also specialized interfaces dedicated to XML, HTML, an abstract view, generic stylesheets, Cascading Style Sheets, Events, traversing the document structure, and a Range object.
There are language bindings for several languages, including JavaScript and Java, which has the package org.w3c.dom