Chapter 7. Loading and Saving XML with DOM 3.0 LS
The Document Object Model (DOM) Level 3 provides a new specification called the DOM Level 3 Load and Save (LS) specification for loading, saving, and filtering an XML document. For an introduction on the Document Object Model refer to http://www.w3.org/DOM/, and for an introduction on the various specifications included in the DOM refer to http://www.w3.org/DOM/Activity.
In this chapter we will explain the procedure for loading and saving an XML document with the DOM 3.0 Load and Save (LS) API. We will also discuss the filtering of an XML document. The Oracle XML Parser v2 library in JDeveloper 11g includes an implementation of the DOM Level 3 Load and Save specification. The DOM Level 3 LS specification is influenced by the JAXP (Java APIs for XML Processing; refer to https://jaxp.dev.java.net/) and SAX APIs (Simple API for XML; refer to http://www.saxproject.org/), which were discussed in Chapter 1.
The DOM Level 3 Load and Save API has...