2.1.1665 Part 4 Section 5.9.2.14, forEach (For Each)

a.   The standard states that the name attribute specifies a unique identifier for the layout node.

Office uses this attribute to specify a unique identifier for the iteration.

b.   The standard describes the forEach element as a simple iteration.

For Office, it is assumed that ForEach describes a pattern for iterating through elements in the data model. The way the data model tree is walked is specified by a forEach expression. The attributes axis, cnt, hideLastTrans, ptType, st and step can each be a single value or list of values. Use an array of values to perform multiple iterations in the same forEach that will iterate elements in the data model like nested forEach elements.

Show: