Variables

Alphabetic List of XpressDox Commands and Functions

Commands / Functions in XpressDox Document Automation software. Here is a list containing every command / function available in the XpressDox Command Assistant, listed alphabetically.   Command or Function Name Description and Examples AddBCCAddress Add BCC Address/es when saving as email (eml) «AddBCCAddress()» AddCCAddress Add CC Address/es when saving as...

List of XpressDox commands and functions by Category

All Commands and Functions listed by Category Email Command or Function Name Description and Examples AddBCCAddress Add a BCC email address when assembling to an email   «AddBCCAddress()» AddCCAddress Add a CC address when assembling to an email  «AddCCAddress()» AddToAddress Add a “To” email address when assembling to an email ...

CentsToCurrency - XpressDox

Convert a cents amount back to currency after use in calculations   You can use this function in your XpressDox templates to convert a cents amount back to your currency e.g. 123456 to $1234.56 typically after use in calculations.   Please read more about the use of this function at...

CurrencyToCents - XpressDox

Convert a currency amount to cents for use in calculations   You can use this function in your XpressDox templates to convert a currency amount to cents e.g. $1234.56 to 123456 to use it in calculations. Please read more about the use of this function at this post.

What is the difference between an XpressDox data element and a variable?

If you have come from a HotDocs background you might think that the difference between a data element and a variable is simply semantics. However, there are important differences you need to be aware of. As you probably know XpressDox makes use of XML as its underlying data structure and...

GetVOrDefault - XpressDox

Get the value of a variable or a default value Before you can Get a variable using the «GetV()» function, that variable needs to be Set using the «SetV()» or «SetVr()» function. However, there might be a use case where you are unsure that the variable you need has been...

Repeating data: Ordinal values, and ordinal with a filter

A common issue with repeating data is the requirement to refer to the items within the list by their ordinal values.

Using and storing variables

Here are some examples to illustrate the concept which enables the results of calculations to be stored for further use in the template, and even for future templates.

Using variables to calculate totals

XpressDox give the template author the ability to perform calculations and other operations on the values of data elements, and to store those values in variables for later use in the template. One example of this is the ability to calculate totals on repeated data elements.

Shortcuts when using variables

With effect from Version 7, there are a number of shortcuts for referring to some of the variable-handling functions. They were introduced to take away the amount of typing necessary when many variables are being used. A full list of the shortcuts is as follows: ::A - AppendVr ::G -...

SetV - XpressDox

SetV sets the value of an XpressDox variable.   Reference material: Please read through this article to understand the difference between data elements and variables. And this article for an overview of working with variables in an XpressDox template. And for reference, here is a post containing a comprehensive list...

SetVr - XpressDox

SetVr sets the value of an XpressDox variable, and removes the paragraph.   Reference material: Please read through this article to understand the difference between data elements and variables. And this article for an overview of working with variables in an XpressDox template. And for reference, here is a post...

Sum - XpressDox

Add up repeating numbers using the Sum() function   To simply add up all the numbers inside a ForEach, you can use the Sum() function as demonstrated below: «ForEach(Invoice_item)» «position()». «Desc»: «FormatNumber(Amount)» «End()» TOTAL: «FormatNumber(sum(Invoice_item/Amount))» «CaptureInGrid(Invoice_item,Yes)»   Using some XPATH, you can add on to the above code snippet and...
Loading...