Extract Data from XML file and store in an array

Yes i made use of Log. Enclosed screenshot. Please help where to make the change to get the output.