Hey,
I have written some java code to Parse an XML file.
It is almost exactly the same as the code here:
A Simple Way to Read an XML File in Java - Print Version
Basically, I have it returning the XML values but what I want to be able to do now is to return the actual tag.
So if we have:
<age>22</age>
I have the code which will return: 22
Now I need the code to show the actual TAG: <age>
Does anyone know how this can be done????
THANKS!!!!!!