Running through xml multiple times

Im sure there is a simple way to do this, but it’s been driving me nuts for days now.
I am trying to loop through all the data in my xml file, thats no problem, however I need to read the data three times for the menu I am building. Is there a simple way to do this?
Basically I want to take the first set of results, then add on the second then the third. So I will end up with a list of data three times what is actually contained in the xml doc.

Any help greatly appreciated,
thanks.