XML Portfolio problem!

This is the tutorial i found at KIRUPA [color=#323232]http://www.kirupa.com/web/xml/examples/portfolio.htm[/color]

In the tutorial have 3 portfolio for each portfolio only can show 1 image, if want show more than 1 image for each portfolio how?
can i add a next and previous button? how? i try to do it but cant work!