[jdom-interest] extract info from JDOM tree

Sylvain.Thevoz at swisscom.com Sylvain.Thevoz at swisscom.com
Thu Dec 5 01:42:20 PST 2002


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




More information about the jdom-interest mailing list