Code to convert Microsoft word to WML

Hi,


Can anyone help me get the code to convert Microsoft word(.docx) to WordML or WML format using Aspose.words for java.

Thanks

Hi,


Thanks for your inquiry. Please use the following code to convert Word document to WordML format:
Document doc = new Document(getMyDir() + “in.docx”);
doc.save(getMyDir() + “out.xml”, SaveFormat.WORD_ML);
I hope, this helps.

Best regards,