File Name |
Listing Number |
Description |
readme.html |
NA |
This file |
department.xml |
NA |
Sample XML document |
department2.xml |
NA |
Invalid XML document |
department.dtd |
NA |
DTD for department.xml |
SimpleParse.java |
2.1 |
Read and parse an XML document |
SimpleParseAndPrint.java |
2.2 |
Reproduce an XML document from a parsed structure |
keyval.xml |
NA |
Sample XML document |
MakeEltTblDOM.java |
2.3 |
Extract key-value pairs and stores them into
a hash table (DOM-based implementation) |
NotifyStr.java |
2.4 |
Trace methods of SAX DocumentHandler |
MakeEltTblSAX.java |
2.5 |
Extract Key-Value pairs and stores them into
a hashtable (SAX-based implementation) |
SimpleFilter.java |
2.6 |
Modify structure of an XML document |
SimpleFilter2.java |
2.7 |
Modify structure of an XML document (inner
class version) |
MakeEltTblEltHandler.java |
2.8 |
Extract key-value pairs and store them into
HashTable (ElementHandler-based implementation) |