commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit <amit.hanchinam...@gmail.com>
Subject [Digester] Querying using Digester
Date Tue, 31 Jul 2007 11:49:05 GMT
Hi All,

I am parsing an xml file using digester. This xml file has structure as
follows

<parents>
<parent id = 1>
<child1></child1>
<child2></child2>
</parent>
<parent id = 2>
<child1></child1>
<child2></child2>
</parent>
</parents>

This xml file would have many parent elements, but with unique ids. I want
to know if I can query such an xml file by id and get only the parent with
the queried id..?
If yes kindly give me a hint or a small example.
Any help appreciated.


Cheers,
Amit

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message