Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all,
i try to insert some values into xml file in the good placement.
1)
i have a xml file with informations; (generate by tFileList_1 -> tFileInputXML_1 -> tAdvancedFileOutputXML_1) OK
2)
i have some values header (UUID and CurDate); this values want insert in one place xml element. (generate previously with tjava_1) OK
now i need insert the UUID and CurDate into file xml : (see structure)
<voucher>
<voucherID> HERE THE UUID </voucherID>
<timestamp> HERE THE CurDate
</timestamp>
<files>
<file> <filename>xxxxxx</filename> </file>
<file> <filename>yyyyyyyy</filename> </file>
<file> <filename>zzzzzzzz</filename> </file>
</files>
</voucher>
have you a nice explain idea ?
I dont want do all in javaRow, it is possible with the component talend ?
thanks
a lot.
Hi
Add a tMap between tFileInputXML and tAdvancedOutputXML, add new columns in the output table of tMap, and set their values using the context variables.
Regards
Shong