This project must be done individually. No copying is permitted. The goal of this project is to learn the SAX and DOM XML APIs.
You will do this project on your own PC/laptop. You may use a text editor to develop your Java programs but it would be easier if you just use Netbeans.
Here are some examples:
The following web pages provide some tutorials. Use them as a reference only.
void toSAX ( Node x, PrintHandler h )that converts a DOM node x and its descendants into a SAX stream, which is fed into the SAX handler h. The PrintHandler, which extends the SAX DefaultHandler, has SAX event handlers to print the SAX stream (see page 18 of the slides on XML tools). Use this function to print an entire XML document.
Use the form below to submit your java files.
Last modified: 03/24/08 by Leonidas Fegaras