Add a comment in a XML file

Highlighted
One Star

Add a comment in a XML file

Hi,
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="toto.fr">
<ent:Automat>

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

Re: Add a comment in a XML file

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

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

2019 GARTNER 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

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog