At any rate, just break the tree into elements, and traverse or map through them and then ->detach() the ones that you want gone... example to follow.
In reply to Re: Help with HTML::Element->splice_content
by santonegro
in thread Help with HTML::Element->splice_content
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |