in reply to Re^3: XML::LibXML and namespaces
in thread XML::LibXML and namespaces
So maybe you use/*[ local-name() = "user" and position() = 1 ] /*[ local-name() = "address" and position() = 2 and @name = "2" ] /*[ local-name() = "entry" and @name = "Address line 2" and contains(string(), "suburb2") ]
or any number of things like that/*[ local-name() = "user" ] /*[ local-name() = "address" ] /*[ local-name() = "entry" and @name = "Address line 2" ]
//entry[ @name = "Address line 2" ]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: XML::LibXML and namespaces
by seanc (Novice) on Oct 04, 2014 at 08:45 UTC |