XpressDox Support

DaysBetween – XpressDox

The DayBetween function returns the number of days between the two dates. For example: I was born on «FormatDate(DateOfBirth,‘d MMMM yyyy’)» which means I am «floor(DaysBetween(Today(),DateOfBirth) div 365.25)» years old.

Read More »

Debug – XpressDox

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

Read More »

Define – XpressDox

Controlling the layout of your interview in your XpressDox template   XpressDox gives quite a lot of power to template authors in controlling the layout of the interview for a template.     Controlling the

Read More »

DefineSetAllGroup – XpressDox

There is a requirement in some templates for the interview user to be able to check a checkbox  and have a set of check boxes all checked –  a so-called “Check All” feature. A similar

Read More »

DetectLongConditions – XpressDox

How will I know when to use this command? Particularly with long templates with lots of conditional logic, you can get one or both of the following situations: either the interview responsiveness is very sluggish,

Read More »

DropDownPanel – XpressDox

Please note that this has not been implemented on the web as yet. There are situations where many data elements need to be captured in a specific context on the interview, but the interview looks

Read More »

EnableWebPreview – XpressDox

This command is relevant in the case where the template is to be published to your own Integration Server. It can be used to enable or disable the Preview functionality during the interview process.

Read More »

EndsWith – XpressDox

EndsWith tests the end of a string: «If(EndsWith(Surname,’-Smith’)» «Surname» is a double-barrelled name. «SetV(‘FirstPart’,substring(Surname,1,string-length(Surname) – 6))»«Comment(SetV(‘FirstPart’,string-before(‘-Smith’)) is equivalent)» «End()» «Name_of_Client»«If(not(EndsWith(ToLower(Name_of_Client),’s’)))»’s«Else()»’«End()»

Read More »

Eq – XpressDox

Sometimes it is necessary to compare the value of a data element to one or more fairly lengthy strings.  This can be tedious for the template author and also open to typing errors.  The Eq function

Read More »

EscapeForXml – XpressDox

The EscapeForXML and GetValidXMLElementName functions are used in the context where the XpressDox template is needed to generate XML.  (By the way, this demonstrates the power of XpressDox in being able to produce not just Word documents,

Read More »

Using Tabs in the interview

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 »

Data capture interview layout tips

Although XpressDox will automatically construct a data capture interview for a template when that template is run, template authors will want to make use of the layout commands to control the layout of the interview.

Read More »

ExcludeFromGrid – XpressDox

Display items in a grid repeat in your XpressDox template, but exclude certain of them from the initial grid capture This command is used in conjunction with CaptureInGrid when there are too many elements inside

Read More »

ExcludeFromIV – XpressDox

Particularly in the situation where data are included in the data set from a data source, text file or perhaps Standard Data Elements, it may be that the template author does not want the user

Read More »

Execute – XpressDox

Execute is used when a sequence of functions need to be executed one after the other. It is typically of assistance in the HotDocs® converter. Here is an (admittedly artificial, but useful for illustration) example:

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 »

ExtractInitials – XpressDox

It is unkind to a user to expect them to fill in the full names of a person and then to type in the initials of that person. The ExtractInitials function relieves the user of this burden.

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 »

FlagTOCToBeUpdated – XpressDox

Note that with effect from Version 6.4.1 of XpressDox, the functionality of this command is exactly the same as for the UpdateFields command. When a template contains a Word Table of Contents (TOC), that TOC

Read More »