--- title: "Templates" slug: "templates-xml-reports" updated: 2025-10-07T09:58:27Z published: 2025-10-07T11:40:41Z canonical: "help.mail-and-deploy.com/templates-xml-reports" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # Templates - XML Reports ### General Every template of a XML Report is a text file that contains constant text and references to [Elements](/release36/docs/introduction-22) which will be replaced by the content of the element during the creation of the report document. ### Properties Every template has the following properties: | Name | Description | | --- | --- | | Name | The name of the template. | ### Managing Templates Templates can me modified by opening the report in the [Report Designer](/release36/docs/report-designer): To create a new template or import an existing XML file as a template, right-click the *Templates* folder in the content explorer and choose *New Template* or *Import Template*. To edit the contents of a template, double-click the template item in the content explorer. To delete an existing template, right-click the template item in the content explorer and click *Delete Template*. ### Single-Template Operation If the XML Report has only one template, that template will always be used when a report document is created from the report. In that case, the *Template Name(s)* property of the report can be left empty. ### Multi-Template Operation Mail & Deploy supports multiple templates per XML Report and can merge templates to one large template at runtime. ### Examples The following [Expression](/release36/docs/introduction-28) returns a single template name from which to create the report document: Mail & Deploy Expression "Template1" When using the following [Expression](/release36/docs/introduction-28), the templates *Template1* and *Template2* will be merged and the report document will be created from the merged templates: Mail & Deploy Expression CreateList("Template1", "Template2")