Example Source Code from Chapter 12, The DOM Traversal Module, of Processing XML with Java
Example 12-1 The NodeIterator interface
Example 12-2 The DocumentTraversal factory interface
Example 12-3 Using a NodeIterator to extract all the comments from a document
Example 12-4 Using a NodeIterator to retrieve the complete text content of an element
Example 12-5 The NodeFilter interface
Example 12-6 An implementation of the NodeFilter interface
Example 12-7 The TreeWalker interface
Example 12-8 The ExampleFilter class
Example 12-9 Navigating a sub-tree with TreeWalker
Examples from Other Chapters
|
Processing XML with Java
|
Cafe con Leche
Copyright 2002 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified November 23, 2002