Skip to main content

Reading and extracting data from an XML structure

This scenario extracts specific information from an XML file (areas.xml in this example) and displays the information through a tLogRow component.

For more technologies supported by Talend, see Talend components.

The following lists the content of the areas.xml file:

<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>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!