Created 02-14-2019 05:13 AM
i have XML files about 1-2 GB i want it to convert into CSV format using apache nifi.
so that i can process CSV for joining the two csv.
Created 02-14-2019 02:53 PM
Hi @Nitin Damle
You can use the ConvertRecord processor (with XMLReader/CSVRecordSetWriter controller services). I have an article here that shows CSV to XML (with CSVReader/XMLRecordSetWriter controller services), so you just need to do the inverse of that record transformation:
https://community.hortonworks.com/content/kbentry/199310/xml-record-writer-in-apache-nifi-170.html
-Andrew
Created 02-25-2019 06:54 AM
@Max Börebäck can you upload the template here
Created 02-01-2020 05:40 AM
I have uploaded a NiFi example template on https://github.com/maxbback/nifi-xml
Created 01-13-2020 09:16 AM
Depending on the complexity
But one option is to use the built in converters Another Option is to use this groovy script
https://github.com/maxbback/nifi-xml