14Copyright © 2000-2001 Profile Consulting Inc.14
Simple DOM Example

A program that reads an XML file and uses DOM to traverse and dump its tree.

Example: root.xml

Example: DomTraversal.java