We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HTML to xps conversion

Hi.

We were trying to convert this file "ejemplo.html" to xps and we were getting this message:

"The document appears to be corrupted and cannot be loaded."

we are using these lines of code with the last version of aspose.word 11.9

Document doc = new Document(dir + "\\" + name, new LoadOptions { LoadFormat = LoadFormat.Html });

doc.Save(dir + "\\" + "ejemplo.xps", Aspose.Words.SaveFormat.Xps);


Attached sample file.

Regards,


Thanks,

Hi Gerardo,

Thanks for your inquiry. I have managed to reproduce the same issue at my side. I have logged this issue as WORDSNET-7291 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-7291) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.