in reply to Re^2: Namespaced XML::LibXML XPath query (not a bug)
in thread Namespaced XML::LibXML XPath query
I need to iterate through each <ccc>. I worked out how to get the list of <ccc> nodes and this thread confirms what I did as correct. But now that I have the <ccc> node, how do I get the <dx> properties? I've tried with and without the namespace already defined but still no love. It gets worse, the xml I receive could have <e> nested in <d>.<aaa xmlns="xmlapi_1.0"> <bbb> <ccc> <d1>blah</d1> <d2>blah</d2> <d3>blah</d3> </ccc> <ccc> <d1>blah</d1> <d2>blah</d2> <d3>blah</d3> </ccc> </bbb> </aaa>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Namespaced XML::LibXML XPath query (not a bug)
by grantm (Parson) on Oct 24, 2008 at 00:52 UTC | |
by jbfamilly (Initiate) on Oct 24, 2008 at 03:42 UTC |