Gobsmacked at the awesomeness of all the replies. But the one with the erase method (used in a way I hadn't tried) is it and my preliminary result on the (very big and complex) real-world data is encouraging. Thank you all.
jd
In reply to Re^2: Remove level of elements (preserving their children) in XML::Twig?
by jdbaldwin23
in thread Remove level of elements (preserving their children) in XML::Twig?
by jdbaldwin23
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |