I\'m using SimpleXML (Java) and I\'m trying to get a List of objects based on the value of one of the siblings of the list.
So, here\'s my XML:
I don't know about SimpleXML specifically, but this xpath should get you the elements you want:
metadata/resources/resource[ittype = 'Service_Links']