Ordinal

The Ordinal Command

April 18, 2011 Help

Ordinal is used within a ForEach to output the ordinal value (that is, ‘first’, ‘second’, etc.) of the position in the list of the current item: <<ForEach(party)>> The <<Ordinal(only ,first ,second ,third ,fourth ,fifth ,sixth ,subsequent )>>party is <<firstnames surname>>. <<End(ForEach party)>> This would result in something like this: The first party is Fred Basset. The second party is Harry Smith. The third [...]

Read the full article →

ForEach, List, Ordinal: Handling repeating data

October 10, 2009 User Reference
Thumbnail image for ForEach, List, Ordinal: Handling repeating data

The central issue with repeating data is that the number of repeated data elements is not known at the time the template is authored, and so XpressDox offers the ForEach, List and Ordinal commands as a way of processing a variable number of repeated data elements.

Read the full article →