Implementations of the DOM

There are several implementations of the DOM API available. Most of them are available free of charge; some are distributed under the terms of open-source license. Let's look at a few of them.

Crimson/Xerces

Crimson is a subproject of the Apache XML project derived from the Sun Project X parser. It is implemented in Java and is shipped as a part of Sun's products. Currently, it is one of the most common XML parsers in the Java world; however, Sun plans to make it part of another Apache project, Xerces Java 2, which we will discuss in the next section.

Crimson supports the following APIs:

  • JAXP— Java API for XML Parsing—an XML processor-independent API, which will be discussed later in Chapter 16 “Working with XML and ...

Get Special Edition Using XML, Second Edition 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.