

















|
| |
There are two new samples to test and demonstrate the new DOM2
Transversal implementation:
|
| |
 | Make sure that Xerces and a JDK are loaded on
your computer before running any of the sample parsers. |
 | Xerces: Running the sample applications
requires that you have already loaded the Xerces software on
your computer. |
 | Java: Running the sample parsers require that your computer has a
correctly installed JDK. If you do not already have a JDK already on your computer download
one from Sun's Java website:
http://java.sun.com or from IBM's website
http://www.ibm.com/developer/java/
where you can find an "Enhanced Windows JDK" that is optimized for the Windows platform.
The sample applications
described in the following pages support Java 1 - JDK 1.1.6. 1.1.7, 1.1.8 or
Java 2 - JDK 1.2.2. |
 | UNIX: Command lines in the pages linked below use the Windows path
separator ';' (semicolon) and directory separator '\' (backslash)..
On UNIX, use the ':' (colon) character to separate the JAR files in the classpath,
and replace Windows directory separator '\' (backslash) with '/' (forward slash). |
|
| |
The IteratorView is an interactive UI sample that displays the DOM tree. It
shows the progress of the iteration by moving the selection within the DOM tree.
Buttons act as a control panel, allowing the user to interactively iterate through
the tree, remove nodes, add nodes, and view the results immediately in the tree.
The IteratorView uses an example filter, NameNodeFilter, that can be controlled
from the UI and a DOMTreeFull class that displays the full DOM tree with all
the nodes.
IteratorView page
|
| |
The TreeWalkerviewView is an interactive UI sample that displays the DOM
tree. It show the progress of the tree traversal by moving the selection within the
DOM tree. Buttons act as a control panel, allowing the user to interactively
traverse the tree, remove nodes, add nodes, and view the results immediately in
the tree.
The TreeWalkerviewView uses an example filter, NameNodeFilter, that can be
controlled from the UI and a DOMTreeFull class that displays the full DOM tree
with all the nodes.
TreeWalkerView page
|
|
|