SDMX Service Eurostat. How to parse XML file ?

Four Stars

SDMX Service Eurostat. How to parse XML file ?

Hi,

I am quite new with Talend and looking for some help regarding the Eurostat service.

The aim of the project is to extract data from Eurostat via their SDMX web-service.

http://ec.europa.eu/eurostat/web/sdmx-web-services/about-this-service.

 

Following their instructions I managed to get XML files from the following requests on two different datasets  :

 

Dataset defintion
http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_DS-016890
http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_DS-016894

 

Data
http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/DS-016890/M.FR..22042177.2.SUPPLEMENTARY_QUANTI...
http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/DS-016894/M.FR..2207+2208.2.QUANTITY_IN_100KG/?...

 

The problem is now to parse the xml results in Talend. I tried with tXMLMap but do not manage to get the schema being automatically recognized. 
Could someone help me with this first step ?


Thanks in advance

Moderator

Re: SDMX Service Eurostat. How to parse XML file ?

Hi,

For your SDMX file, you could try the tFileInputXML and select SAX parsing on the advanced settings. SAX is much quicker than DOM, but you will not be able to use look ahead or look back xpath functions.

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars Moe
Six Stars

Re: SDMX Service Eurostat. How to parse XML file ?

Does talend provide the possibility to create SDMX files?

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

APIs for Dummies

View this on-demand webinar about APIs....

Watch Now