Chapter 20. javax.xml and Subpackages This chapter documents javax.xml and its subpackages:java.xml This simple package simply defines constants for use by its subpackages. Added in Java 5.0.javax.xml.datatype This package contains Java types corresponding to types defined by XML standards such as W3C XML Schema, XQuery, and XPath.javax.xml.namespace This package defines types for working with XML namespaces.javax.xml.parsers This package defines parser classes that serve as a wrapper around underlying DOM and SAX XML parsers, and also defines factory classes that are used to obtain instances of those parser classes.javax.xml.transform This package defines classes and interfaces for transforming the representation and content of an XML document with XSLT. It defines Source and Result interfaces to represent a source document and a result document. subpackages provide implementations of these classes that represent documents in different ways.javax.xml.transform.dom This package implements the Source and Result interfaces that represent documents as DOM document trees.javax.xml.transform.sax This package implements the Source and Result interfaces to represent documents as sequences of SAX parser events. It also defines other SAX-related transformation classes.javax.xml.transform.stream This package implements the Source and Result interfaces that represent documents as streams of text.javax.xml.validation This package contains classes for validating XML documents against a schema.javax.xml.xpath This package defines types for the evaluation of XPath expressions in the context of an XML document. |