Support Questions

Find answers, ask questions, and share your expertise

Is it possible to convert nested XML to csv/text data in nifi using only the processors with out any code like java/python/groovy ?

 
5 REPLIES 5

Super Guru

It depends on how you are trying to "flatten" the nested XML into CSV fields, you can try UpdateRecord, JoltTransformRecord, etc. Each record-based processor does different transformations, but in the end they can all convert from XML to CSV, you just have to tell the right processor what to do. If you provide more information here (sample input and output, e.g.) I can try to help get you going.

@Matt Burgess Is there anything possible for this xml to csv conversion ?

@Matt Burgess I am also thinking to convert deeply nested xml to csv, and thinking of using either of ConvertRecord, UpdateRecord or JoltTransformRecord. What are the difference between UpdateRecord and JoltTransformRecord? Which one should be suitable?

@Deb What is your desired output?

@Turker TUNALI Is there anything possible for this xml to csv conversion ?