Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Recursive program help

 
kaleem shk
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Posts: 52625
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read the important administrative private message I just sent you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!