in reply to Re: Twig delete not deleting the entire section?
in thread Twig delete not deleting the entire section?

Children handlers get triggered before parent handlers -- by design -- as soon as an element is completely parsed the handler is triggered -- its depth first -- cause thats how xml works

If you are trying to delete children from parents, based on criteria in the children, you have to do it from parent handlers, simply use findnodes instead of handlers

So sorry, but its not a bug :)

  • Comment on Re^2: Twig delete not deleting the entire section?