Can I format the data that is referenced in a Token?
Yes.
XDOC supports Extended Token Syntax, which allows you to apply formatting and data cleansing instructions directly within a token.
This is useful when you want to:
- Format dates or numbers
- Clean up text (e.g., trim spaces, convert to uppercase)
- Apply masks or conditional logic
Extended Token Syntax Overview
The syntax is similar to the basic token format, but includes Instruction Properties between the token name and the closing $$.
Basic Token Syntax: $$CONTAINER.loanNumber$$
Extended Token Syntax Example: $$CONTAINER.loanNumber|format=000000000$$