How to convert xls to xml

Hi,

Is there a way to convert xls to xml ?

Thanks,
Jaspreet

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.

Hi,


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:
e.g
Sample code:

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


Thank you.