XML For Loop?

I’m trying to modify Voetjoeba’s FLNav to load 60+ images. In the XML file, is there a way to run a loop to declare each image (named pic1.jpg to pic60.jpg), or do I have to type each one out? Here is the code im using:

<images>
	<image>
		<path>images/pic1.jpg</path>
	</image>
	<image>
		<path>images/pic2.jpg</path>
	</image>
	<image>
		<path>images/pic3.jpg</path>
	</image>
	<image>
		<path>images/pic4.jpg</path>
	</image>
	<image>
		<path>images/pic5.jpg</path>
	</image>
	<image>
		<path>images/pic6.jpg</path>
	</image>
	<image>
		<path>images/pic7.jpg</path>
	</image>
	<image>
		<path>images/pic8.jpg</path>
	</image>
</images>And i want to achieve **something** like this: 
[AS]
<images>
      for(i=1;i<=60;i++) {
	<image>
		<path>images/pic+i+.jpg</path>
	</image>
      }
</images>[/AS] But im unfamiliar with XML. Any help = awesome