<students>
<person>
<name>Harry</name>
<age>20</age>
<city>Newyork</city>
</person>
<person>
<name>Harry</name>
<age>25</age>
<city>California</city>
</person>
<person>
<name>Ron</name>
<age>22</age>
<city>Florida</city>
</person>
</students>
In the above xml, assuming I already know the values for name 'Harry' & age '20'. I would like to get the value of city using those two values as input. I'm trying to use jquery. Since two 'Harry's are there, I want to use one more value to get correct city. Assuming its an external xml file.