Given the following:$doc->findnodes('//myns:root/myns:stuff/myns:items/myns:book');
That is really an ugly xpath expression.<root xmlns="http://goobar/xml" xmlns:myns="http://goobar/xml"> <stuff> <items> <book>XML Namespaces</book> </items> </stuff> </root>
In reply to Re^2: Namespaced XML::LibXML XPath query
by chovy
in thread Namespaced XML::LibXML XPath query
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |