# XMLストラクチャーからデータを読み取って抽出

このシナリオでは、XMLファイル(この例ではareas.xml)から特定の情報を抽出し、tLogRowコンポーネントによってその情報を表示させます。

![](https://help.qlik.com/talend/ja-JP/components/8.0/Resources/images/Use_Case_tFileInputXML.png)

areas.xmlファイルのコンテンツを以下にリスト表示します:

```
<areas>
	<area city="Paris">
		<street district="2eme arroundissement">Rue de la Paix</street>
	</area>
	<area city="Paris">
		<street district="8eme arroundissement">Champs Elysees</street>
	</area>
	<area city="New York City">
		<street district="Manhattan">Madison avenue</street>
	</area>
	<area city="New York City">
		<street district="Brooklyn">Washington heights</street>
	</area>
</areas>
```

### このセクション内

* [ジョブを作成](https://help.qlik.com/talend/ja-JP/components/8.0/xml-connectors/tfileinputxml-tlogrow-reading-and-extracting-data-from-an-xml-structure-creating-job)
* [ジョブを設定して実行](https://help.qlik.com/talend/ja-JP/components/8.0/xml-connectors/tfileinputxml-tlogrow-reading-and-extracting-data-from-an-xml-structure-configuring-job)

**関連概念**

[tFileInputXML](https://help.qlik.com/talend/ja-JP/components/8.0/xml-connectors/tfileinputxml "XMLストラクチャーファイルを行単位で読み取り、それらをフィールドに分割し、スキーマで定義されているフィールドを次のコンポーネントに送信します。")

**関連情報**

[tLogRow](https://help.qlik.com/talend/ja-JP/components/8.0/logs-and-errors/tlogrow)