As Tanktalus mentioned, you cannot use ignore_elt for this.
An other way to do this is to set a twig handler on 'title/title/title' that will just return 0, this will prevent the handler on title to be run:
my $twig = XML::Twig->new( twig_handlers => { $ign => sub { return 0}, $sel => \&title, },
In reply to Re: XML::Twig ignore_elts
by mirod
in thread XML::Twig ignore_elts
by anniyan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |