Index
Main Menu
Tutorial Videos
Tutorial videos are available here.
Knowledge Base
Visit our User Forum for discussions & solutions
Commands
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 situations will give some context within the document where the relevant command is, so that...
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 layout using multiple commands: For example, the layout commands for an email address might look...
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, and/or you get an “Out of Memory” exception being thrown by the system. What...
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 clumsy when they are all displayed together. The «DropDownPanel()» command enables the template author to group...
All commands regarding the Interview - XpressDox
This is a consolidated list of all the commands regarding the Interview, along with a short description of each. Click on the command name for a link to a more detailed article. Interview capture: Button Place a button on the interview and set some custom behavior using the OnExitSet...
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()»
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, but also text and, in this case, transform XML from one format into another). «EscapeForXml(Text)»...
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 the repeat for all of them to be displayed as a grid, but it is...
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: «OnExitSet(Name,Number,Value,(),Execute(SetV('X',12),IncrementV('X'),GetV('X')),,EvenWhenNotEmpty)» After the focus leaves the Name field, the Number data element will have its...
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 this and related commands will be found in the Cookbook article Arithmetic in XpressDox.
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 XpressDox variable named ‘fileName’, and, if the file exists, issue the MergeTemplate command for it....
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 can sometimes become invalid when conditional assembly in the template causes some of the constituents...
Loading...