File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Recursive program  help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Recursive program  help" Watch "Recursive program  help" New topic

Recursive program help

kaleem shk

Joined: Jul 16, 2009
Posts: 1
I have created following class to store the given XML structure

XML Structure:

Now,I am trying to search "ITEM-A2" using the following code

But this code works only for second level item search not for third level item search.
Please correct me where i am doing mistake.

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46362
Please read the important administrative private message I just sent you.
I agree. Here's the link:
subject: Recursive program help
It's not a secret anymore!