JAXP Overview

The classes and interfaces used to support XML processing are divided based on the functionality provided by the package, distinguishing between parsing the XML document and transforming the document into another format. These packages are subpackages of the javax.xml package as shown below (see Table 15-1).

Table 15-1. The javax.xml Packages
PackageDescription
javax.xml.parsersProvides the basic classes needed to perform XML parsing.
javax.xml.transformProvides the classes for the transformation of XML documents using XSL instructions.
javax.xml.transform.saxProvides for the transformation of XML documents using the SAX parser.
javax.xml.transform.domProvides for the transformation of XML documents using the DOM parser.
javax.xml.transform.stream ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.