Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
How can I properly write this kind of XML file with Talend ?
...
<person><property name="firstname" value="john" /><property name="lastname" value="doe" /><property name="birthdate" value="010118" /><property name="gender" value="M" /></person>
Datas come from a simple flat flow which look like this :
Use only tXmlmap look tricky :
Maybe tFileOutputXml or tAdvancedFileOutputXml but don't see how.
Thank you for help!
Hi
tMap -> tFileOutputXML
output as expected
<?xml version="1.0" encoding="ISO-8859-15"?> <interface> <pers> <person> <property name="firstname" value="john"/> <property name="lastname" value="doe"/> <property name="birthdate" value="010118"/> </person> </pers> </interface>