# Combining several inputs into a single output

Join two CSV structures into an XML structure with nested loops.

## About this task

This example uses the following CSV input files, the first one contains information about customers, and the second one about bills.

```
id;name;city
111;John;New York
591;Billy;Los Angeles
891;Bob;Chicago
```

```
customerId;billId;price
111;asd-589;123.58
891;111-gfs;3.58
591;sry-84u;352.89
891;8j9-t44;99.95
591;xoi-htr;36.55
891;999-gre;799.95
```

The goal of this transformation is to get an XML file with an element for each customer containing their information and their bills.

### In this section

* [Creating a Job to combine two CSV files into a single XML file](https://help.qlik.com/talend/en-US/data-mapper-user-guide/8.0-R2026-09/creating-job-to-combine-two-csv-files-into-single-xml-file)
* [Mapping two inputs to a single output](https://help.qlik.com/talend/en-US/data-mapper-user-guide/8.0-R2026-09/mapping-two-inputs-to-single-output)