Looping
If an element can occur multiple times in a single object, you set up looping for that element. The loop is an expression tree that defines how the loop for that element is handled in the output document. Typically, this is automatically calculated when you reference elements from the input document, and, in most cases, the element loops corresponding to some input element.