I have complex XML files with nested elements. I built a process to handle using SSIS and T-SQL. We utilize Azure Data Factory and I'd like to explore converting XML files to JSON or CSV, since those are supported by ADF and XML is not.
It appears logic apps is one option. Has anyone had other luck with taking XML and converting within a pipeline?
Current Workflow: pick up XML files from folder, drop to on network drives, bulk insert XML into a staging row, parse XML to various SQL tables for analysis.
Sample:
<HEADER>
<SurveyID> 1234 </SURVEYID>
<RESPONSES>
<VAR>Question1</VAR>
<VALUE>Answer1</VALUE>
</RESPONSES>
<RESPONSES>
<VAR>Question2</VAR>
<VALUE>Answer2</VALUE>
</RESPONSES>
<SurveyID> 1234 </SURVEYID>
<RESPONSES>
<VAR>Question1</VAR>
<VALUE>DifferentAnswer</VALUE>
</RESPONSES>
</HEADER>
Note: I don't need to know how to parse XML, that is done. I also know that you can execute SSIS within ADF. I am looking at alternatives to the overall process.