[jdom-interest] getting an element deep in the tree.

Meghasyam Bokam mbokam at cs.nmsu.edu
Sat Oct 5 22:16:51 PDT 2002


Dear all,

   I have the following xml document. I have the root("set") element with
me and I need the "in" element in the tree.


<set>
  <bvar>
    <ci> x </ci>
  </bvar>
  <condition>
    <apply>
      <and />
      <apply>
        <lt />
        <ci> x </ci>
        <cn> 5 </cn>
      </apply>
      <apply>
        <in />
        <ci> x </ci>
        <naturalnumbers />
      </apply>
    </apply>
  </condition>
</set>

Can anybody help me how to get this in JDOM?

Thank You.

Meghasyam.




More information about the jdom-interest mailing list