If

Advanced Conditional Logic

August 13, 2015 Cookbook

Suppose you would like to write a sentence something like one of the following, depending on the age of a child: My child <ChildName> is a teenager and is allowed to watch movies rated for 13 and older. OR My child <ChildName> is not a teenager but in any case, being <Age>, is old enough to be […]

Read the full article →

The CountOf Command

July 27, 2010 Help
Thumbnail image for The CountOf Command

The CountOf function returns the number of times one string occurs within another.

Read the full article →

Conditional processing – If, Else, When

January 29, 2010 User Reference
Thumbnail image for Conditional processing – If, Else, When

Including in or excluding text from a document can be achieved in a straightforward manner with the If, Else and When commands.

Read the full article →

The Debug Command

October 1, 2009 Help

Missing or superfluous End commands When a template is run, XpressDox will check for missing and floating End commands as well as floating Else commands. Wherever possible, the error message warning about one of these situations will give some context within the document where the relevant command is, so that you can find it easily […]

Read the full article →

The If Command

October 1, 2009 Help

Using the If command, chunks of text can be included in or excluded from the merged document depending on values provided by the user in the interview. For example, suppose special wording is required when the Balance_Outstanding is greater than $10000; the If command would be used like this: We note that your account is […]

Read the full article →

Using block commands in XpressDox

September 30, 2009 User Reference
Thumbnail image for Using block commands in XpressDox

The ForEach and 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.

Read the full article →