This examples shows how for-each Loops work.
for-each
A for-each has a select Attribute that selects the node set for the loop. The body of the loop (the contents of the for-each) is applied to each node selected.
select