Hi,
(Sorry about broken english)
I have read the nanoxml tutorial and I have manage to do a little program(based on tutorial).
In this program:
1.User gives a name of the .xml file which he/she wants to open
2.File is opened and printed to the screen in this format: <BOAT><BOAT><NAME>Hank</NAME><YEAR>1980</YEAR><CLASS>10</CLASS></BOAT></BOAT>
Now my problem is how to get for example <NAME> value(Hank) from BOAT.xml to
Java variable...called
String Name??
So I need to get every piece of information from BOAT.xml to different Java variable, but I cannot do that...
I have tried to do this in many ways.... without success, help me on this one please..
-Maria-
JAVA CODE:
BOAT.xml