Try joining the child nodes
pojmy ($node) = $dom->findnodes('/doc/text'); my $text = join '', $node->childNodes(); print "$text\n";
In reply to Re: XML::LibXML - How to extract an element including the elements within?
by poj
in thread XML::LibXML - How to extract an element including the elements within?
by TravelAddict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |