- or download this
<?xml version="1.0" encoding="UTF-8"?>
<root>
<element1>Element1 content</element1>
<element2>Element2 content</element2>
</root>
- or download this
my $xpath = ‘/root’;
my $test = $doc->findnodes($xpath);
...
$VAR1 = bless( [
bless( do{\(my $o = 13079328)}, 'XML::LibXML::Element
+' )
], 'XML::LibXML::NodeList' );
- or download this
my $xpath = ’/root and /root/element1’;
my $test = $doc->findnodes($xpath);
print Dumper($test);
$VAR1 = bless( [], 'XML::LibXML::NodeList' );