Free Support Forum -

Convert excel to xml

Hi team,

We are using Aspose.Cells to convert excel file to xml format.
Code snippet for conversion is as follows:
Workbook workbook = new Workbook(_FileStream);
Aspose.Cells.SaveFormat format = Aspose.Cells.SaveFormat.SpreadsheetML;
workbook.Save(filepath, format);

Here the conversion is of format SpreadsheetML, but our requirement is to have the plain xml format.
Please suggest if you have any option to convert excel to the plain xml format.


Hi Nagalakshmi,

Thank you for contacting Aspose support.

I have tried different SaveFormat types but none of them allowed me to save the sample spreadsheet in plain XML format therefore I believe it may not be supported by Aspose.Cells APIs. Could you please provide more details of your scenario so we could try to find an alternative approach or a workaround?