- or download this
my $parser = XML::LibXML->new() or die $!;
my $tree = $parser->parse_file('content.xml') or die $!;
my @nodes = $tree->findnodes('//p');
- or download this
my @nodes = $tree->findnodes('//text:p');
- or download this
my @nodes = $tree->documentElement->findnodes('//text:p');