Parser example for SAX and SimpleDOM