Example using SAX2 and DOM

Input xml file mybooks.xml

WE transform this xml file into book.html

Java code is useofsax2.java

A working example of SAX PARSER  application.

We can transform the same bookDOM.html

using UseDOM.java

http://java.sun.com/developer/TechTips/2000/tt0627.html