The Java API for XML Processing, or JAXP ( /ˈdʒækspiː/ JAKS-pee), is one of the Java XML programming APIs. It provides the capability of validating and parsing XML documents. The three basic parsing interfaces are:
- the Document Object Model parsing interface or DOM interface
- the Simple API for XML parsing interface or SAX interface
- the Streaming API for XML or StAX interface (part of JDK 6; separate jar available for JDK 5)
In addition to the parsing interfaces, the API provides an XSLT interface to provide data and structural transformations on an XML document. JAXP was developed under the Java Community Process as JSR 5 (JAXP 1.0) and JSR 63 (JAXP 1.1 and 1.2).
J2SE version | JAXP version bundled |
---|---|
1.4 | 1.1 |
1.5 | 1.3 |
1.6 | 1.4 |
JAXP version 1.4.4 was released on September 3, 2010. JAXP 1.3 was end-of-lifed on February 12, 2008.
Read more about Java API For XML Processing: DOM Interface, SAX Interface, StAX Interface, XSLT Interface