The DOM and the JAXP Packages

The DOM APIs are developed and maintained by the W3C DOM Working Group. JAXP endorses the DOM Level 2 Core recommendations by including by reference the packages that contain the DOM APIs. JAXP also contains a package that enables the use of any DOM Level 2-compliant parser to be used in an application. You can learn more about DOM Level 2 specifications at http://www.w3.org/TR/DOM-Level-2-Core/.

The JAXP package for supporting DOM and the DOM APIs is defined in the following packages:

  • org.w3c.dom

  • javax.xml.parsers

The org.w3c.dom Package

The org.w3c.dom package contains the interfaces that define the DOM APIs. These interfaces represent the different node types supported by DOM specifications. These interfaces provide ...

Get Java™ APIs for XML Kick Start 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.