View Single Post
  #6 (permalink)  
Old March 23rd, 2005, 09:55 AM
katsarosj katsarosj is offline
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts

What exception are you getting? The code that I gave you should exit the loop when a check is found on a child node. Are you sure that the exception is not caused by something executing after you exit the loop?