Add a comment in a XML file

One Star

Add a comment in a XML file

In several jobs, I create XML files with the tAdvancedFileOutputXML component. I want to add a comment line in each generated file with the date, the name of the job and its version just under the first line.
<?xml version="1.0" encoding="ISO-8859-15"?>
<!-- generated by setupAutomat version 0.3 on the 22/07/2008 -->
<ent:Automats xmlns:ent="">

Is it possible to do it in the tAdvancedFileOutputXML component?
Community Manager

Re: Add a comment in a XML file

It is impossible now. I think it can be added as a new feature. Would you like to report it?
Best regards

Talend | Data Agility for Modern Business

What’s New for Talend Spring ’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


How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration


Definitive Guide to Data Quality

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