Need some help with xml

Hi!

I’m building a product gallery from the xml file below. I’m attempting to create a menu list with the names of the manufactors and display the thumbnails (from all manufactors) in a grid.

Basicly, I’m making a dynamic version of this webshop:
http://www.kamelone.no/designstore

However, I can’t figure out how to write the xml loop. I need some help figuring out the logic of this. How do I do it?

<?xml version='1.0' encoding='utf-8'?> 

<gallery>
    <manufactor name="Manufactor 1">
        <product image="img/1.jpg" thumb="img/1_t.jpg">PRODUKT 1, eksempel, kr. 150,-</product>
        <product image="img/2.jpg" thumb="img/2_t.jpg">PRODUKT 2, eksempel, kr. 250,-</product>
        <product image="img/3.jpg" thumb="img/3_t.jpg">PRODUKT 3, eksempel, kr. 350,-</product>
    </manufactor>
    <manufactor name="Manufactor 2">
        <product image="img/4.jpg" thumb="img/4_t.jpg">PRODUKT 1, eksempel, kr. 450,-</product>
        <product image="img/5.jpg" thumb="img/5_t.jpg">PRODUKT 2, eksempel, kr. 550,-</product>
        <product image="img/6.jpg" thumb="img/6_t.jpg">PRODUKT 3, eksempel, kr. 650,-</product>
    </manufactor>
    <manufactor name="Manufactor 3">
        <product image="img/7.jpg" thumb="img/7_t.jpg">PRODUKT 1, eksempel, kr. 750,-</product>
        <product image="img/8.jpg" thumb="img/8_t.jpg">PRODUKT 2, eksempel, kr. 850,-</product>
        <product image="img/9.jpg" thumb="img/9_t.jpg">PRODUKT 3, eksempel, kr. 950,-</product>
    </manufactor>
</gallery>