Easy-to-use Sample Templates with Sample XML Data Files
Downloadable mail merge sample templates for invoices, quotes, and packing slips use simple XML data sources without relations or sub-tables. Each template includes merge fields, headers, footers, and repeating blocks. Fields can be remapped visually in TX Text Control Words.

We published a new set of sample templates with easy to understand XML files as data sources without any relations and sub-tables to keep it very simple. You can load these templates into the designer TX Text Control Words and remap the fields matching your data source.
Or you can use this project to remap the fields visually:
Dialog project: Remapping merge fields
The templates have a consistent layout and have common merge fields, headers and footers and a repeating block (item) for items to be repeated. The layout is based on the business templates available in Microsoft Word.


The following screenshot shows one of the templates in the template designer TX Text Control Words:
In order to test these templates with the sample data sources, you simply need to download and unzip the ZIP files below, load the template into the template designer TX Text Control Words and open the XML file by choosing Load XML File from the Data Source drop-down button in the Reports ribbon tab. Then click on Preview Merge Fields to see the created document.
| Template | Download |
| Business invoice | invoice.zip |
| Business quote | quote.zip |
| Business packing slip | packingslip.zip |
Here are the merged templates to give you an idea of the layout:
Reporting
The Text Control Reporting Framework combines powerful reporting features with an easy-to-use, MS Word compatible word processor. Users can create documents and templates using ordinary Microsoft Word skills. The Reporting Framework is included in all .NET based TX Text Control products including ASP.NET, Windows Forms and WPF.
Related Posts
MailMerge Class Settings Explained
The MailMerge class provides four properties to control merge output: RemoveEmptyFields, RemoveEmptyLines, RemoveEmptyBlocks, and RemoveEmptyImages. Each property handles unmatched or missing data…
Merge Excel Documents into MailMerge Templates using IncludeText Fields
IncludeText fields in TX Text Control templates reference external Excel files during mail merge. The process loads .xlsx files as temporary ServerTextControl instances, using Bookmark to target…
MailMerge: Conditional Table Cell Colors using Filter Instructions
The TX Text Control MailMerge FieldMerged event exposes TableCell instances during merge for conditional formatting. A CellFilterInstructions class parses filter rules from merge field names and…
MailMerge: Using Filters to Remove Unwanted Rows
TX Text Control merge block filters remove unwanted rows from repeating data during the mail merge process without modifying the underlying source. Filter conditions applied to merge blocks…
ReportingWindows FormsMail Merge
MailMerge: Conditional Rendering of Merge Blocks
TX Text Control X16 provides two approaches to conditionally render merge blocks within MailMerge templates. Setting RemoveEmptyBlocks removes blocks when child data is absent, while…



