Java XML Concepts

When working with XML, there are varied technologies programmers need to work with, depending on the focus of the desired business results. These technologies fall broadly into categories that we will cover over the course of this chapter.

First, programmers need basic methods that allow the data contained within XML Documents to be parsed and accessed programmatically. There are two common approaches to this issue. Event based parsing is the lowest level method, which does not retain any document structure. The standard method in Java for event based parsing is the Simple API for XML (SAX). Document based parsing is the other method. Document based parsing is a higher-level method that keeps information about the parsed document ...

Get Special Edition Using XML, Second Edition 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.