# Running through xml multiple times

**URL:** <https://forum.kirupa.com/t/running-through-xml-multiple-times/310917>\
**Category:** Uncategorized\
**Created:** [June 22, 2010, 9:26pm UTC](https://forum.kirupa.com/t/running-through-xml-multiple-times/310917 "2010-06-22T21:26:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roleiflex](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@roleiflex](https://forum.kirupa.com/u/roleiflex)\
**Post date:** [June 22, 2010, 9:26pm UTC](https://forum.kirupa.com/t/running-through-xml-multiple-times/310917/1 "2010-06-22T21:26:33Z")

</div>

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.
