XML::LibXML: How to write a xpath with qualified name?
- by sid_com
I've found this on http://www.perlmonks.org/?node_id=606909
looking by qualified name ...
In this case you can call findnodes method on any node, you don't need the XML::LibXML::XPathContext with its prefix = namespace mapping:
$doc-findnodes('///info/fooTransaction/transactionDetail/[name() = "histFile:transactionSummary"]/*');
In which…