TOS V7 : XML transformation from/to XML

Five Stars

TOS V7 : XML transformation from/to XML

Hi,

To get to read an xml file, I think I have to change its tree, such as :

 

2018-07-11_105514.png

 

Could you suggest me the best way to do it ?

Is it possible to read the initial file and keep the link between the parent and child nodes (<key> and <Air...Weather>) ?

 

Best regards

 

Five Stars

Re: TOS V7 : XML transformation from/to XML

Hi,

any idea ?

I know how to read the 'Weather' nodes, but how to keep/find  the link with the independent parent node <key> ?
The parent is de the previous value of <key> before the loop on of <Weather> nodes.

Number of loops = previous value of <NBElements> node .

 

Best regards

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch