Chapter 11. The DOM Core


Chapters 9 and 10 considered a DOM document as primarily a tree of nodesthat is, as composed of instances of the Node interface. Indeed, for many purposes this is all you need to know. But not all nodes are the same. Elements have properties that attributes don't have. Attributes have properties that processing instructions don't have. Processing instructions have properties that comments don't have, and so forth. In this chapter, we look at the unique properties and methods of the individual interfaces that make up an XML document.



Processing XML with Java. A Guide to SAX, DOM, JDOM, JAXP, and TrAX
Processing XML with Javaв„ў: A Guide to SAX, DOM, JDOM, JAXP, and TrAX
ISBN: 0201771861
EAN: 2147483647
Year: 2001
Pages: 191

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net