This is again a "getting started tutorial" of how to start using XML parsing concepts in java. For further details of using XML parsing please refer tutorials at : http://docs.oracle.com/javase/tutorial/jaxp/sax/index.html . The program presented here is a simple demonstration of how to parse an XML document using SAX-XML parser for java. For demonstration purpose a sample .xml file is also included. temp.xml : <?xml version="1.0"?> <company> <staff department="information security"> <firstname>FIRST NAME-1</firstname> <lastname>LAST NAME-1</lastname> <nickname>STUDENT-1</nickname> <salary>100000</salary> </staff> <staff> <firstname>FIRST NAME-2...