Hello,
I have generated an xml File with OWC and try to open it with Aspose.
I get an error even if the file can be open with Excel.
If I remove manually all the “Style” Tag in the xml file, the file can be opened with Aspose.
Here is the sample of my code:
public class MainClass {
/**
* @param args
*/
public static void main(String[] args) throws Exception {
License license = new License();
license.setLicense(new FileInputStream(“ressource/Aspose.Cells.lic”));
Workbook wb = new Workbook();
wb.open(“temp.xml”, FileFormatType.SPREADSHEETML);
wb.save(“Validation Test.xml”, FileFormatType.SPREADSHEETML);
wb.save(“Validation Test.xls”);
}
}
Thank you,
Rega rds