Working with XML
IN THIS CHAPTER
Defining structure with DTD
Looking at DOM and SAX
Reading a document into memory
Navigating a document
Getting attribute and element values
In this chapter, you find out how to work with Extensible Markup Language (XML) — the best thing to happen to computing since the invention of the vacuum tube (at least, according to some overenthusiastic prognosticators).
This chapter focuses on the basics of reading an XML document into memory and extracting data from it. With the background in this chapter, you shouldn’t have much trouble studying the API documentation on your own to find out more about XML programming.
Most computer-industry pundits agree that XML will completely change the way you work with computers. Here are just some of the ways XML will revolutionize the world of computers:
- Unlock the vast warehouses ...