# Importing the XML tree structure from the Repository

## About this task

To do this, proceed as follows:

## Procedure

1. In any input flow table, right-click the column name to open the contextual menu. In this example, it is Customer.
2. From this menu, select Import From Repository.
3. In the pop-up repository content list, select the XML connection of interest to import the corresponding XML tree structure.

   ![Selecting the connection in the Metadata window.](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/Mapping_XMLMap5.png)

   This figure presents an example of this Repository-stored XML connection.

   Information noteNote:

   To import an XML tree structure from the Repository, the corresponding XML connection should have been created. For further information about how to create a file XML connection in the Repository, see [Centralizing XML file metadata](https://help.qlik.com/talend/en-US/studio-user-guide/8.0/centralizing-xml-file-metadata).
4. Click OK to validate this selection.

## Results

The XML tree structure is created and a loop is defined automatically as this loop was already defined during the creation of the current Repository-stored XML connection.