Xml to .xlsx using Aspose

Hi Team,


we are using CarlosAg to generate Xml to .xls, now we want to try to generate .xlsx format. We are using Aspose for Watermarking, we would also want to use Aspose to generate .xlsx format.
Do you have any example?


Hi,

Thanks for your posting and considering Aspose.Cells.

Aspose.Cells cannot convert xml file to xls or xlsx format directly. However, if you could convert your xml file into a datatable, then you can import all the data inside the data table into xls/xlsx workbook.

Please see the following documentation article that explains how to import data to worksheets.

( Import Data into Worksheet|Documentation )

Also, if your xml file is actually a SpreadSheetML format, then you can directly convert your SpreadSheetML format into xls/xlsx format using Aspose.Cells.