Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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 ?

Highlighted

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 ?

New Contributor
 
5 REPLIES 5

Re: 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 ?

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.

Re: 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 ?

New Contributor

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

Re: 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 ?

New Contributor

@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?

Re: 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 ?

New Contributor

@Deb What is your desired output?

Re: 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 ?

New Contributor

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