This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Recursive program help  RSS feed

 
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
Sheriff
Posts: 53742
127
  • 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!