Book HomeJava and XML, 2nd EditionSearch this book

4.6. What's Next?

That's plenty of information on the Simple API for SAX. Although there is certainly more to dig into, the information in this chapter and the last should have you ready for almost anything you'll run into. Of course, SAX isn't the only API for working with XML; to be a true XML expert you'll need to master DOM, JDOM, JAXP, and more. I'll start you on the next API in this laundry list, the Document Object Model (DOM), in the next chapter.

To introduce DOM, I'll start with the basics, much as the last chapter gave you a solid start on SAX. You'll find out about tree APIs and how DOM is significantly different from SAX, and see the DOM core classes. I'll show you a sample application that serializes DOM trees, and soon you'll be writing your own DOM code.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.