This is how you do loops in XMLTemplates Or you can use named variables