Index

Tutorial Videos

Tutorial videos are available here.

Knowledge Base

Visit our User Forum for discussions and solutions

User Reference

AppendPDF – XpressDox

AppendPDF enables the user, and also the template author, to choose one or more PDF files which will be appended to the document assembled by the template in which the command appears.  The SaveAsPDF(Yes) command is

Read More »

FileExists

This function can be used to test the existence of a file.   An example would be something like: «SetV(‘fileName’,concat(Directory,’\ExtraTemplate.xdtpx’))» «If(FileExists(GetV(‘fileName’)))» «MergeTemplate(GetV(‘fileName’))» «End(if exists)»   This will construct the name of a file in the

Read More »

Configuring standard folders

The Document Save Folder will be the default folder to which documents produced by running a template will be saved. When a template has been run, the user will be asked to provide a name for the document via a Save File dialog, and at that stage will be able to change the place where the document is saved.

Read More »

CultureName – XpressDox

This function can be used to take different action depending on the “culture” active at the time. All possible cultures are defined in Table of Language Culture Names, Codes, and ISO Values. The function has

Read More »

ExpectXSLTFormatNumbers – XpressDox

This is the command that is fundamental to ensuring that XpressDox arithmetic features apply regardless of the format of numbers specified in the Windows Control Panel or chosen by the user. A full explanation of

Read More »

RemoveColumnIf – XpressDox

Remove a table column in your XpressDox template if a certain condition is true. It is almost impossible to think of a way to tell XpressDox to include a column in a Word table using «If(condition)»

Read More »

RaiseToPower – XpressDox

This function can be used in more advanced arithmetic calculations, such as: If the side of a square is «Side» then the area will be «RaiseToPower(Side,2)». The second parameter does not need to be a

Read More »

WriteTimeStampToDataSet – XpressDox

If you have the command «WriteTimeStampToDataSet(Yes)» in the template, then when the document has been assembled, a data element containing the start and end times and elapsed time of the assembly operation will be written

Read More »

LastDayInMonth – XpressDox

February is always a problem in that its last day depends on whether the year is leap or not.  XpressDox has the LastDayInMonth function to assist with this. All that is required is to provide the

Read More »

IncludePicture

This command enables the insertion of graphics from a file into the merged document. The picture is inserted into the document at the point where the command is encountered, and the size of the image

Read More »

When – XpressDox

The When command can be used when the text to be included or excluded is small, is text only (i.e. contains no further data elements) and requires no MS Word formatting.   Example 1: Plurals This fax

Read More »

PrefixWith – XpressDox

PrefixWith This function is particularly useful in the situation where, say, you have an address consisting of data elements AddressLine1, AddressLine2, AddressLine3, and AddressLine4, but that perhaps lines 2, 3 and 4 are empty.  Further, you want to present

Read More »

PaintInsertedText – XpressDox

The command searches the template for any fillpoint which directly inserts text into the assembled document, and “paints” it with the specified color.   Command structure: «PaintInsertedText(Yes,Blue)»   Examples of usage: «PaintInsertedText(Yes,Red)» «Owner» (“Owner”) agrees

Read More »

ShowHidden – XpressDox

XpressDox has a powerful Relevance Engine which hides or shows controls (those areas where data for data elements are captured) on the interview. Take the following snippet: «ChooseFromRDBList(PartyType,Individual,Company)» The party is: «Name» and the «If(PartyType =

Read More »

PositionOfRepeater – XpressDox

Please note that with effect from version 11.3, this function has been superseded by the RepeaterPosition function. For backward compatibility the use of PositionOfRepeater is supported, but is discouraged. Consider the commands OnExitSet and OnEnterSet.

Read More »

SaveDataset – XpressDox

In most cases after a template is run, XpressDox will save the Data Set (i.e. the XML file containing the data). Sometimes you might want to suppress the saving of the the data set. For

Read More »

Format – XpressDox

When concatenating strings together (see Concatenating Strings), it is not always easy to visualize what the end result will look like. This is especially the case when the strings being concatenated are a mixture of

Read More »

ToHtml – XpressDox

The InsertFormattedText command will accept HTML text as input, convert it to an XpressDox document and then include it as if it were done with an IncludeTemplate command. Sometimes the data in a data element

Read More »

DateAsNumber – XpressDox

If you want to compare two dates, then typically you want to know whether one date is later than another. The default way that dates are stored in XpressDox is in the format yyyy-MM-dd (e.g.

Read More »