Convert Excel to HTML5 using Aspose Cells Java

We are trying to convert Excel to HTML file using Aspose Cells version 8.1.2 in Java 1.7, but the generated HTML file has attribute values without quotes. Due to this Thymeleaf is not able to Parse the html file.



We are using Thymeleaf 2.1.3.RELEASE which recognizes only HTML5.



Error message when we try to access the generated HTML file through application :



Caused by: org.xml.sax.SAXParseException: Open quote is expected for attribute “http-equiv” associated with an element type “meta”.



Could you please help us solve this issue?



Regards,

Bhakti

Hi Bhakti,


Thank you for considering Aspose APIs.

I am afraid, Aspose.Cells APIs do not support the conversion of spreadsheets to HTML5. Please note, the Aspose.Cells APIs follow Excel’s guidelines & specifications in its implementation therefore the converted HTML should be the same as converted by Excel application, where Excel does not convert the spreadsheets to HTML5.