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 ?

 
5 REPLIES 5
Highlighted

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 ?

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.

Highlighted

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 ?

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

Highlighted

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 ?

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

Highlighted

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 ?

@Deb What is your desired output?

Highlighted

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 ?

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

Don't have an account?
Coming from Hortonworks? Activate your account here