Skip to Main Content
XML Unleashed
book

XML Unleashed

by Michael Morrison
December 1999
Intermediate to advanced content levelIntermediate to advanced
992 pages
22h 3m
English
Sams
Content preview from XML Unleashed

Parsing an XML Document with Java

As noted earlier, there are two basic interfaces to XML parsers: SAX, which supports low-overhead, event-based processing, and DOM, which represents the result of parsing in a tree data structure that can be used with XML (or HTML).

Let's look at how to parse XML with these interfaces. Later chapters will discuss in detail how to work with the results of this parsing: Chapter 15 will present DOM, and Chapter 16 will present SAX. This chapter will only summarize the most important non-standard features and show you how to get started. You need to see those nonstandard features to use DOM, and you'll need to read about DOM or SAX to write a useful program!

To make things easier, you'll learn how to do one particular ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

XML Hacks

XML Hacks

Michael Fitzgerald
Beginning XML, 4th Edition

Beginning XML, 4th Edition

Jeff Rafter, Danny Ayers, Jon Duckett, Eric van der Vlist, Joe Fawcett, Linda McKinnon, David Hunter, Andrew Watt
Inside XSLT

Inside XSLT

Steven Holzner

Publisher Resources

ISBN: 0672315149Purchase book