Manage the number of occurrences of a repeater. “Repeaters” are otherwise called “complex elements” in XML, but are essentially items through which you can iterate using a «ForEach()» in the template. An example would be My children are: «ForEach(Child)» Name: «Name» Age: «Age» «End()» In general, XpressDox will allow the user to enter either no […]
XpressDox Help Center
Use Google To Find Help Fast, e.g. xpressdox choosefromlist
Press Getting Started in the XpressDox toolbar for basic template development
Watch the tutorial videos
View command help from list of commands
Press F1 for help on a command in the Command Editor
Email email@example.com for assistance
A common issue with repeating data is the requirement to refer to the items within the list by their ordinal values.
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.
Repeating data elements presents a challenge to the template author, especially in formulating sentences and descriptions where the number of parties or invoice items or other repeating data is unknown at the time of authoring the template. This recipe in the Cookbook demonstrates how XpressDox meets this challenge.
If commands are called ‘block commands’ because they are terminated with a separate
End command. Between the start and end of the block there are other Merge Fields. There is a special behaviour related to block commands to help with eliminating unwanted empty paragraphs when the start and end appear on different paragraphs.