Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
spr654
Creator
Creator

tFileInputXML to tFileOutputXML through tMap

Hi,

 

I am trying to modify some fields in an input XML file and I want, after modification, to send the fields into an xml in output. It is an xml with lots of children nodes. I have used the metadata to do it, but I couldn't get the output xml as the input. It is all flat.

I have attached a sample xml file. 

 

Any help is welcome.

 

 

 

Labels (3)
4 Replies
housseinHTR
Contributor II
Contributor II

Hi,

try to use tXMLMap instead of tMap.

Regards

spr654
Creator
Creator
Author

Hi, 

 

I have. Same result...

housseinHTR
Contributor II
Contributor II

What are the fields you want to modify?

spr654
Creator
Creator
Author

In fact, is it not a group of fields, 

 

The Talend job generates different xmls from one "complete" xml. I mean that there are rules applying to fields or group of fields. The Talend job will remove nodes, groups of nodes or will delete values depending on the rules I want to fit. 

Sometimes the fields are on the root, sometimes the fields are in loops (children).

 

Thanks for your help and support.