# Creating a hierarchical input structure

Create a structure to use as input for your flattening map.

## Before you begin

You have downloaded the mondial.xml file from https://www.dbis.informatik.uni-goettingen.de/Mondial/#XML.

## Procedure

1. Expand the Hierarchical Mapper node and right-click Structure, then click New &gt; Structure.
2. In the wizard that opens, select Import a structure definition and click Next.
3. Select XML Sample Document and click Next.
4. Select Local file and browse to the mondial.xml file that you downloaded.
5. Select a folder and enter a name for your structure, then click Next.
6. Click Finish.

## Results

Your input structure is created and opens in the editor. You can now create the flattening map. ![Creation of the input structure.](https://help.qlik.com/talend/en-US/data-mapper-user-guide/Resources/images/create_hierarchical_input_structure.png)