We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to convert xls to xml


Is there a way to convert xls to xml ?


Hi Jaspreet,

Thank you for contacting Aspose support.

Unfortunately, the Aspose.Cells APIs do not provide any means to save the spreadsheets in plain XML format.

Please feel free to write back in case you have further questions or concerns.


By the way, Aspose.Cells does support SpreadsheetML (XML) file format which is rather MS Excel oriented XML file that you may convert from XLS/XLSX file format if it suits your needs, see the sample code below:
Sample code:

Workbook workbook = new Workbook(“e:\test\Book1.xls”);
workbook.Save(“e:\test\out1.xml”, SaveFormat.SpreadsheetML);

Thank you.