Here is a consolidated list of all commands regarding the handling of repeating data. Click on each command for a more detailed article.
ForEach()
Repeat data elements and/or text.
«ForEach(Party)»«Name»«End()»
last()
Get the first or last item in the set of repeated elements.
«Party[position() = last()])»«Name»«End()»
Ordinal()
Get the ordinal inside a ForEach.
«Ordinal(,First,Second,Third,Fourth,Fifth,Sixth,Seventh and Subsequent)»
position()
Returns the position (a numeric value) of the ForEach.
«Party[2]/Name»
RepeatWhile()
Repeat a block while a condition remains true.
count()
Returns the number of repeated items.
list()
Produce a comma delimited list from repeating data.