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.

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 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog