Saxon implements the JAXP 1.2 API (originally known as TrAX), which is now documented as
a standard part of JDK 1.4.
Saxon implements the interfaces in the javax.xml.transform
package in full, including support for
SAX, DOM, and Stream input, and SAX, DOM, and Stream output.
Note: The transformation interfaces in JAXP 1.2 are identical to JAXP 1.1: the new version only affects the XML parser interface, adding options to control schema validation.
Saxon also implements part of the javax.xml.parsers
API.
Saxon no longer provides its own SAX parser,
however it does provide a DocumentBuilder
.
The DOM interfaces are limited by the capabilities of the Saxon DOM, specifically the fact that
it is read-only. Nevertheless, the DocumentBuilder may be used to construct a Saxon tree, or to
obtain an empty Document node which can be supplied in a DOMResult to hold the result of a
transformation.