Conversion script from xml to csv.