This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 38519
    
  23
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