. If I understand, your suggested XPath uses a wildcard for the namespace prefix, the
Correct, thats what I said, but I got confused and I made a mistake
This will work for sure
//*[ local-name() = 'data' and attribute:key="$weightKey" ] [0]
In reply to Re^3: XML::LibXML with namespace with no prefix
by Anonymous Monk
in thread XML::LibXML with namespace with no prefix
by dallen16
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |