[jdom-interest] extract info from JDOM tree

MarkW mark.wilson at wilsoncom.de
Thu Dec 5 02:20:17 PST 2002


Look here:
http://www.javaworld.com/javaworld/jw-05-2000/jw-0518-jdom.html

Regards,
Mark

> -----Original Message-----
> From: jdom-interest-admin at jdom.org 
> [mailto:jdom-interest-admin at jdom.org] On Behalf Of 
> Sylvain.Thevoz at swisscom.com
> Sent: Thursday, December 05, 2002 10:42 AM
> To: jdom-interest at jdom.org
> Subject: [jdom-interest] extract info from JDOM tree
> 
> 
> Hello everybody,
> 
> I repost my question:
> 
> I have a XML file like this
> <document>
>   <group name="Europe">
>     <company name="LH">
>       <fullname>Lufthansa</fullname>
>     </company>
>     <company name="SA">
>       <fullname>Soviet Airlines</fullname>
>     </company>
>     <company name="AF">
>       <fullname>Air France</fullname>
>     </company>
>   </group>
>   <group name="US">
>     <company name="AA">
>       <fullname>American Airlines</fullname>
>     </company>
>   </group>
> </document>
> 
> 
> I want to retrieve content of this file and create a list of 
> String that contain:
> Europe
> Europe->Lufthansa
> Europe->Soviet Airlines
> Europe->Air France
> US
> US->American Airlines
> 
> 
> Anyone has experience or idea?
> Thank you very much
> Sylvain
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com




More information about the jdom-interest mailing list