Search

XpressDox Support

SetWebInterviewMinimumHeight – XpressDox

The interview in the browser can vary in height depending on the existence of tabs and other factors. The template author can control the minimum height of the web interview with the SetWebInterviewMinimumHeight command. «SetWebInterviewMinimumHeight(200)»

Read More »

SetWebInterviewSize – XpressDox

Whilst the «SetWebInterviewSize» command remains active and supported in v12, it is obsolete in v14 since the interview is now completely responsive.   Prior to version 14 the interview size on the web could be

Read More »

SetWebReturnURL – XpressDox

SetWebReturnURL After an XpressDox template has been run from within your own web application or website, the «SetWebReturnURL» command can be used to specify a result page i.e. where the browser should point now that

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 »

ShowIfHasValue – XpressDox

This function is used mainly to get rid of empty paragraphs in a document. «ShowIfHasValue(AddressLine3)» will insert the value of the AddressLine3 data element only if that data element has a non-empty value.  If the

Read More »

StartsWith – XpressDox

The StartsWith function (an XSLT function) is used to test whether a string starts with a given string: «If(StartsWith(Surname,’van ‘)»«Title» «Surname» is probably of Dutch descent.«End()» «If(StartsWith(Surname,’van ‘)»«Setv(‘LastPart’,substring-after(Surname,’van ‘))»«End()» In previous versions this command was

Read More »

StartsWithVowel – XpressDox

The result of this function would typically not be included directly in the merged document, but would be used in a conditional, such as: If «When(StartsWithVowel(Fruit),an,a)» «Fruit» is ripe it tastes better than if it

Read More »

Working with Page Breaks

Using a page break in a template is fairly straightforward, even when the page break is conditional. In other words, when the page break is to be included or excluded on the basis of an

Read More »

The Command Assistant

The Command Assistant (or Command Editor) empowers the template author by presenting a list of all the XpressDox commands, with functionality which provides wizards for completion of the command as well as supplying examples of

Read More »

Understanding XpressDox Artefacts

XpressDox Artefacts When a template runs, XpressDox creates a number of internal structures.  The most important of these is an XSLT Stylesheet.  The stylesheet contains the definition of how the data from an XML data

Read More »

SubstringBeforeLast – XpressDox

SubstringBeforeLast and SubstringAfterLast These two functions help with manipulation of strings like file paths or IP addresses which have multiple occurrences of a delimiter. For the following examples, assume the data element DocFilePath contains ‘C:\Documents\XpressDox\WordFile.docx’.

Read More »

Tab – XpressDox

Templates with many data elements might result in data capture interviews being constructed by XpressDox which are intimidating to the template user. The Tab command assists the template author in laying out the data capture interview.

Read More »

TabOrientation

Use this command to change the orientation of Tabs from horizontal (default) to vertical, or none.   Option 1: Horizontal: «TabOrientation(Horizontal)» The default. Not specifying any orientation of tabs would result in them being horizontal.

Read More »

Working with strings

XpressDox has numerous string handling functions.  The number of different applications is vast, and this article tries to provide a number of situations all in one place. Extract the last few characters of a string

Read More »

TableLookup – XpressDox

The TableLookup function enables the calculation of an amount from a table. Typically this is used with tax tables, or other tables of tariffs. The normal tax calculation for South Africa for the 2008/09 tax

Read More »

TemplateName – XpressDox

Use this function to put the file name of the currently running template into the assembled document. For example: The name of this template file is «TemplateName()» To include the extension and full file path of

Read More »

The Gender Function

Generic documents such as contracts often have numerous places where the construct “his/her” appears, or perhaps “his” is used in the document and a preamble has words to the effect of  “masculine usage includes feminine

Read More »

Filling PDF Forms

PDF forms which contain fillable fields can be populated with XpressDox data PDF documents which have been prepared with PDF Form Fields (using a suitable PDF Form editor) can be filled with data captured with

Read More »

Conditional Capture

The Conditional Capture feature of XpressDox will automatically hide merge fields on the data capture interview. This happens when the document assembly logic in the template renders a data element to be irrelevant in a particular situation.

Read More »

Moving around in XpressDox: The Explorer

“If I were going to Limerick, I wouldn’t be starting here”, an Irishman told a tourist. Yet it can be like that with the Microsoft file and folder explorers, which often enough open far away from where you want to be. The XpressDox Explorer solves this problem for you.

Read More »

The Processing Phases of XpressDox

When running a template in XpressDox (i.e. in the Word add-in), you are interacting with five phases of processing. These are:   1. Template normalisation. This process consists of merging the templates referred to in

Read More »