This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Recursive program  help" Watch "Recursive program  help" New topic
Author

Recursive program help

kaleem shk
Greenhorn

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.

Thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44545
    
  34
Please read the important administrative private message I just sent you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Recursive program help
 
It's not a secret anymore!