Help for this page
<parent_node xmlns="my_context"> <wrapper att1="abc"> ... <childnodeA>stuff2</childnodeA> </wrapper> </parent_node>
$xpath = XML::LibXML::XPathContext->new($xml->documentElement); ... $att1 = $key->getAttribute('att1'); $childnodeA = $key->findnodes('./childnodeA'); }