O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Parsing XML

To use XML documents, you must be able to understand the "meaning" contained in them, to manipulate that logical content, and to find your way around the logical structure of XML documents. This chapter introduces you to some of the concepts relevant to these fundamental mechanisms.

As you saw when you created an XML document in Chapter 10, "Introducing XML," and Chapter 11, "Creating XML Files for Use," an XML document is, at one level, simply a text document. More precisely, an XML file is a succession of characters, which have no intrinsic meaning—at least as far as a computer is concerned. A text editor can create or display an XML file, but only as a series of characters. An ordinary text editor knows nothing of the logical structure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required