you only need to match on local-name()
... which would make code non-namespace-aware and doesn't answer the question "how I am supposed to make XML::LibXML correctly use name spaces" (the answer recommended by XML::LibXML is XML::LibXML::XPathContext). The whole topic has been discussed before, actually in the thread you linked to: Xpath not working.
In reply to Re^2: xmlns and XML::LibXML ( local-name() )
by Anonymous Monk
in thread xmlns and XML::LibXML
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |