<path> <name> <option id="6523"> <needle>Haystack</needle> <foo>bar</foo> </option> <option id="6524"> <needle>Haystack</needle> <foo>Bar</foo> </option> </name> </path> Hello again Stackoverflow!
For example, i want the Needle and the foo from option 6524, how do i get those using SimpleXML? I've tried xpath (almoast every topic here on stackoverflow suggests xpath) but that didn't work out for me! Can you guys help me?
Thanks!