Re: RemoveChild Problem
Brought to you by:
bs_php,
nigelswinson
From: Nigel S. <nig...@us...> - 2001-12-20 01:29:30
|
> Thanks for the answer - the explanation was exactly as I already thought, > but > even when I tried to re-run evaluate() after each removeChild() or even > with using reset() it did not help - maybe I did it wrong, but shouldn't > that be > the correct solution??? Any advice for a nice working script to solve this? Try deleting the nodes in the reverse order to which they come back from evalute. ie delete node 2 then 1, not 1 then 2. This means the nodes DO exist. Yeah there will be a more elegant way to do this in the future. :o) Nigel |