Edit Content
Click on the Edit Content button to edit/add the content.

If

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 More »

Advanced Conditional Logic

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>,

Read More »

The Debug Command

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

Read More »

The If Command

Using the If command, chunks of text can be included in or excluded from the assembled document depending on values provided by the user in the interview.   Command structure: «If(Balance_Outstanding > 10000)» «If(Beneficiary = ‘Yes’)»   Examples of usage: Suppose special wording is required when the Balance_Outstanding is greater

Read More »