> For the complete documentation index, see [llms.txt](https://help.pixfizz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pixfizz.com/products-and-design/how-to-create-templates/xml-definition-parameters.md).

# XML Definition Parameters

Production file sizes, output settings and other parameters are defined in an XML file.

The following parameters can be set on the main `<definition>` tag.

<details>

<summary>dpi</summary>

* Any value between 1 and 600 can be used to output an exact pixel dimension

{% code title="" %}

```xml
<definition dpi="200">
```

{% endcode %}

</details>

<details>

<summary>output</summary>

* `vector` - PDF format with layered elements and embedded fonts
* `vector-singlepage` - Single page PDF
* `jpeg` - JPG output
* `png` - PNG output

{% code title="sample use" %}

```xml
<definition output="png" background-transparent="true">
```

{% endcode %}

</details>

<details>

<summary>output-name</summary>

The output-name parameter allows you to define not only the 'type name' of the production file, but also allows you to decide how the production PDFs are grouped together. For example, by default similarly sized pages will be grouped in a single multi-page PDF, but you can group any pages you want together by having the same 'output-name'.

{% code title="sample use" %}

```xml
<page type="cover" width="20" height="10" output-name="cover"/>
```

{% endcode %}

</details>

<details>

<summary>background-transparent</summary>

* **true** - production file & preview renders without a white background

</details>

<details>

<summary>minimum-dpi</summary>

Only one of the following values can be used to set the benchmark for when the enduser receives a resolution warning for any image element they add to a project.

* 18
* 36
* 72
* 100
* 150
* 200
* 300
* 400
* 500
* 600

</details>

<details>

<summary>unit</summary>

Omit the unit parameter to have it default to millimeters

* **inch** - sets all of the units to inches instead of the default millimeters&#x20;

</details>

<details>

<summary>pages</summary>

Set the default number of pages for a new project

</details>

<details>

<summary>min</summary>

Set the minimum number of pages possible in a project

</details>

<details>

<summary>max</summary>

Set the maximum number of pages possible in a project

</details>

<details>

<summary>add</summary>

Set the number of pages that are added or removed to a project when a user adds/deletes pages

</details>

<details>

<summary>trimbox</summary>

Set `trimbox="true"` in order for the bleed dimensions to be embedded into the production PDF as to define the intended dimensions of the finished page, after trimming. This can be useful for adding printer marks pre-press or to work with other finishing equipment.

</details>
