Inserting links

Hi All

I have a flash image rotator that is controlled by an XML file that looks like this:

<?xml version=“1.0” encoding=“iso-8859-1”?>
<rotator time=“10000” randomplay=“true” transition=“blocks”>
<foto file=“templates/ol_lipe/images/img1_01.jpg” link=“next” />
<foto file=“templates/ol_lipe/images/img1_02.jpg” link=“next” />
<foto file=“templates/ol_lipe/images/img1_03.jpg” link=“next” />
<foto file=“templates/ol_lipe/images/img1_04.jpg” link=“next” />
<foto file=“templates/ol_lipe/images/img1_05.jpg” link=“next” />
<foto file=“templates/ol_lipe/images/img1_06.jpg” link=“next” />
<foto file=“templates/ol_lipe/images/img1_07.jpg” link=“next” />
</rotator>

how do i add links to each of these images

please help