Simple XML parsing code in DOM SAX and JDOM with sample person XML