in reply to xpath problem with XML::XPath and LibXML
//atom:entry
is short for
/descendant::atom:entry
which requests all descendants of "/" (root) which are "atom:entry" elements. You want all descendants of the current node, so you want one of the following:
descendant::atom:entry # No leading "/" = rel to current node ./descendant::atom:entry # "." = current node .//atom:entry # Shortcut
|
|---|