tAdvancedFileOutputXML Empty Element with namespace

Four Stars

tAdvancedFileOutputXML Empty Element with namespace

Hello,

 

I currently developing a job that extract data from a local MySQL database and then extract it to a XML file.

 

Some of the fields in the XML Tree of the tAdvancedFileOutputXML have a namespace associated and despite a have all the create attribute options unchecked it still write empty lines.

 

For example, 

 

<Identifier xmlns:type="urn:xmlns:nlSmiley Tongueop-project:vocab:IdentifierTypes#ORCID">0000-0003-2113-7922</Identifier>
<Identifier xmlns:type="urn:xmlns:nlSmiley Tongueop-project:vocab:IdentifierTypes#CienciaID"></Identifier>
<Identifier xmlns:type="urn:xmlns:nlSmiley Tongueop-project:vocab:IdentifierTypes#J">J003781</Identifier>

 

Has you can see the second identifier does not have any information.

 

It this a Talend limitation or am i doing something wrong?

 

Thank you.

 

Moderator

Re: tAdvancedFileOutputXML Empty Element with namespace

Hello,

Please post your tAdvancedFileOutputXML component setting screenshot on forum which will get more visibility and more help.

Thanks for your time.

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.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch