Issue in iterating XML file

Issue in iterating XML file

  
Hello,

I am parsing an XML file to get data. My XML contains some 'x' no of sub nodes. At the time of iteration,  I am getting the value of first subnode only. However it should give me 'x' no of values for each iteration.