Extract the attribute of an Input XML and modify it through talend
Hi, It's been a wonderful experience using talend all these days. I want to change the value of an attribute in input XML and perform some check on the existing attribute value from an input XML file with Database table and update it. The final output and structure of the input XML must be same as output XML. only the attribute value gets updated. Can any one help me how to achieve this? Thanks.
The easiest way is using a tXMLMap. This component allows you to map structures and you can also modify the values. Take a look at the Variable section in the middle of the XMLMap editor.