The Document Object Model is a language-independent interface to be used by computer programs for reading, modifying, and writing XML files.
Robin Cover's DOM page.
W3C's DOM page.
Python and the XML Document Object Model (DOM)
Documentation for the Python DOM modules.