Export XML as CSV

Convert XML records to CSV format for spreadsheets