in reply to Re: Namespaced XML::LibXML XPath query
in thread Namespaced XML::LibXML XPath query
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>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Namespaced XML::LibXML XPath query
by lestrrat (Deacon) on Nov 04, 2008 at 01:30 UTC |