I am getting the data from XML which I can print too but I cannot import it into CSV format (I need it to be opened as an excel file )
encode , enter output of xml file
I tried the CSV library. I want to get output exported in a CSV file which is in variable currently.