Background
The Document Object Model (DOM) Level 1, Level 2, and Level 3 Core specifications of the World Wide Web Consortium (W3C) standard for XML define a platform- and language- neutral interface for programs and scripts to access and update the content and structure of an XML document. But, the DOM Core specifications don't define an interface for XML document loading and saving. This missing API is defined in the DOM Level 3 Load and Save specification. The DOM Level 3 Load and Save specification provides a standard mechanism for loading and saving (serializing) an XML document.
In the DOM Level 3 Load and Save specification (http://www.w3.org/TR/DOM-Level-3-LS/):"This specification defines the Document Object Model Load and Save Level 3, a platform—and language—neutral interface that allows programs and scripts to dynamically load the content of an XML document into a DOM document and serialize a DOM document into an XML document."
The Java APIs for XML Parsing (JAXP) also provide...