Ordinal

All commands regarding Repeating Data - XpressDox

All XpressDox commands regarding repeating data   Here is a consolidated list of all XpressDox commands regarding the handling of repeating data. Click on each command for a more detailed article.   ForEach() Repeat data elements and/or text. Repeats can be nested to any number of levels i.e. ForEach’s within...

ForEach: 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.

Ordinal - XpressDox

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...
Loading...