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

Free Support Forum - aspose.com

XHTML to Doc with Images?

Hi,


Is there any good tutorial on how to convert my XHTML page to DOC(X) including the images?

Thank you

Hi Petar,


Thanks for your inquiry. Sure, you can use the following two lines of code to convert Xhtml file to Word format(s):

Document doc = new Document(“C:\Temp\in.xhtml”);
doc.save(“C:\Temp\out.docx”);

Best regards,