Well at the moment you can't, but if you give me a good name for the method, I'll add it to the module.
In the meantime, you can do (untested):
my $text= join '', map { $_->text if( $_->is_text) } $elt->children;In reply to Re: Get text without children in XML::Twig
by mirod
in thread Get text without children in XML::Twig
by shamu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |