in my app i am parsing an xml file. In the xml file i am having 50 tags of the same name question , now i want to store all the tag named as question as an arra
This answer seems easily adaptable to your needs. In the example the questions are stored in a map, but it is easy to change this to an ArrayList or an array.