# Creating the input structure for your Route

Create a structure based on an XML sample file. For more information, see [Working with structures](https://help.qlik.com/talend/en-US/data-mapper-user-guide/8.0/working-with-structures).

## Before you begin

You have an XML file to use as input. You can use the sample provided above.

## 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 the file to use:
   * Select an existing resource in your workspace.
   * Import a local file.
   * Enter the URL to the file.
5. Click Next.
6. Select a folder and enter a name for your structure, then click Next.
7. Click Finish.

## Results

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