[jdom-interest] (no subject)
Steven De Schutter
stevendeschutter at yahoo.com
Sun Nov 26 05:47:55 PST 2000
Hello ,
What for code do you have to use in your
Java-Application if you want to retrieve the
information of the second ( 3rd , ... ) child ???
<studentlist>
<student>
<name> Steven </name>
<class> 4ICT </class>
</student>
<student>
<name> Caroline </name>
<class> 4 OT </class>
</student>
</studentlist>
With ...
String name =
root.getChild("student").getChild("name").getContent()
you receive the information of student Steven ( first
node ) ... but how can you get the information of the
next node ( or how can you get the class of Caroline
??? )
Greetings
Steven
=====
|
+-> SCOOPY _______________________________________________
Steven De Schutter Azalealaan 9, 2980 Zoersel
tel : 0497/256.326 Tel/Fax : (+32) 03.385.19.06
email : scoopy at freegates.be sms : mr.scoopy at winbox.com ( Enkel voor spoedgevallen !!! )
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
More information about the jdom-interest
mailing list