Chapter 5. The Document Object Model

IN THIS CHAPTER

The Document Object Model (DOM) is an API set defined by the W3C DOM Working Group for building an object representation of the contents of an XML file. The JAXP specification endorses the DOM standards and provides a standard, consistent, and vendor-independent API set with which you can create and work in a DOM created from a parsed XML document.

This chapter explains how JAXP enables you to process an XML document using a DOM-based parser. This chapter is divided into four sections. The first section explains the DOM APIs included with JAXP and the JAXP package that enables ...

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.