A simple demo of using SAX and DOM