Hi,
I tried to convert a xml document to docx document using aspose for words, but when i open the docx document it throws an error message saying " The file cannot be opened because there are problems with the contents". Below is the code snippet used:
LoadOptions loadOpt1 = new LoadOptions();
loadOpt1.setLoadFormat(LoadFormat.WORD_ML);
Document srcDoc1 = new Document(String filepath,loadOpt1);
srcDoc1.save(String filepath, SaveFormat.DOCX);
I have attached the xml file here for your reference. Please analyse and let me know the problem.
Thanks,
Muthulakshmi.