There are many online XML to CSV converters. Our XML to CSV converter at bestconverttools.com is a good suggestion for you.
Simple operation, you need your XML data and click the "Convert"button to get the result as a CSV file.
XML file in this example: https://www.w3schools.com/xml/simple.xml