- or download this
$doc->findnodes('foo')
- or download this
$doc->findnodes('seg/foo')
- or download this
$doc->findnodes('/seg/foo')
- or download this
$foo->findnodes('text()')
- or download this
join('', map { $_->toString() } $foo_node->childNodes)
- or download this
join('', $foo_node->childNodes)
- or download this
$foo->findvalue('@mid')
- or download this
$foo->getAttribute('mid')
- or download this
use strict;
use warnings qw( all );
...
my $inner_xml = join('', $foo_node->childNodes);
say "$mid $inner_xml";
}