Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 335 Bytes

File metadata and controls

8 lines (6 loc) · 335 Bytes

Extracting data from XML file and converting it into CSV file

How to extract data from XML file and convert it into CSV file

  • XML file is parsed using ElementTree
  • All FinInstrmGnlAttrbts elements are found
  • Loop over the FinInstrmGnlAttrbts elements and write the values to the CSV file
  • Wrote number of rows to output.csv