Shouldn't it be (event.result).descendants("schools"); With this you should get all the 'school' nodes, which you loop through and can pluck out individual name and rate.
I had stored the xml file in server side. So, through result event I got the school nodes only. If there is any other way (other than result event) then please inform.
From your code I thought that you were actually getting a schools node rather than a school node...Other than result event, I don't know an other way to fetch data...