This package contains XML utilities, including a SAX2 DOM parser and a command line utility. Note that all the SAX2 aware classes may also be used (through a ParserAdapter) with parsers that only expose SAX1 APIs, though with a certain graceful degradation of functionality.

The command line utility connects parsers simple processing pipelines. This can be handy for command line validation or transformation tasks, possibly in batch mode, or within Makefiles.

The parsers in this package are:

This package includes three handler utilities:

Two DOM support classes provide APIs to address two fundamental portability problems with the DOM as currently defined by W3C. The DOM Builder provides a way to connect a DOM implementation to an arbitrary SAX parser, including the ones provided in this package. You can configure both the parser and the builder. The DOM Factory addresses a slightly different problem: how to get an empty DOM document.

(Pending: JAXP DOM builder support, and W3C DOM Level 3 support for the same "dom bootstrap" problem.)