Previous | Next | Index | TOC | Top | Top Contents Index Glossary

Working with XML

by Eric Armstrong


Note: This tutorial is still a work in progress. Thanks!
[Version 1, Update 5 -- 9 Aug 1999]
This tutorial covers the following topics:

Understanding XML and the Java XML APIs explains the basics of XML and gives you a guide to the acronyms associated with it. It also provides an overview of the JavaTM XML APIs you can use to manipulate XML-based data.

Serial Access with the Simple API for XML (SAX) tells you how to read an XML file sequentially, and walks you through the callbacks the parser makes to event-handling methods you supply.

Manipulating Document Contents with the Document Object Model (DOM) explains how to create a hierarchy of objects from an XML document so you can randomly access it and modify its contents. This is also the API you use to write an XML file after creating a tree of objects in memory.

The XML Thread

Scattered throughout the tutorial there are a number of sections devoted more to explaining the basics of XML than to programming exercises. They are listed here so as to form an XML thread you can follow without covering the entire programming tutorial:


Previous | Next | Index | TOC | Top | Top Contents Index Glossar