Java API for XML Processing (JAXP) supports processing of XML documents using DOM, SAX, and XSLT. JAXP enables applications to parse and transform XML documents independent of a particular XML processing implementation, giving developers the flexibility to swap between XML processors without making application code changes.
See the JAXP Web site for more information.