in reply to XML::LibXML - How to extract an element including the elements within?
Try joining the child nodes
pojmy ($node) = $dom->findnodes('/doc/text'); my $text = join '', $node->childNodes(); print "$text\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::LibXML - How to extract an element including the elements within?
by TravelAddict (Acolyte) on May 10, 2019 at 19:30 UTC | |
by haukex (Archbishop) on May 10, 2019 at 19:55 UTC | |
by TravelAddict (Acolyte) on May 13, 2019 at 17:33 UTC |