For example:
<school>
<list>
<name>Ali</name>
<age>19</age>
</list>
<list>
<name>John</name>
<age>22</age>
</list>
<list>
<name>Marie</name>
<age>20</age>
</list>
<list>
<name>Anne</name>
<age>23</age>
</list>
</school>
How do I get the age of Marie or Anne?
I can get the age of Ali (with following code) because it is the first element:
var age = $(xml).find('age').first().text();