I need to know a way to read a XML file from java.
for example if the XML file is >>

 <NAME>Joe Wang</NAME>

I need to get the persons name, as in when i specify "NAME" the name 'joe wang' should display.

I have tried SAXParser and it works, but i need to know if there are any other way i can use to read XML files, other than SAXParser?

Here is a link to whole book on Java and XML processing. You may want to have go with JDOM which is very simple... Ofcourse there are other libraries, but generally JDOM is considered one of the simplest.