Introduction

In this chapter, we will cover various techniques of working with XML via Sun's Java programming language. Java has been a driving force in the acceptance and utilization of XML. Therefore, it has quite a variety of interfaces and tools for working with XML.

The previous two chapters covered the standard Application Programming Interfaces (APIs) DOM and SAX for working with XML. This chapter starts putting those APIs into practice with the popular programming language Java from Sun Microsystems. After an introduction and some preparation, the specific methods for accessing XML via Java with SAX and DOM are covered. Next, navigating and transforming XML in Java via XPath and XSLT are introduced. Finally, the last two sections provide ...

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.