Aspose Document Save as XML

Hello,

Is thr any way to save the Aspose.Words object to XML format and retrieve it back from XML and show it as Document in MSWord ?

I think MSWord 2003 Pro. ahead can recognize the XML format and I was wondering if I can use this facility to save the doucment as XML and open it back as DOC and save the DOC back in XML format. Just trying to save some space over DOC v/s XML while processing large number of documents.

Thanks in advance for your help.

Thanks,

Vinay Hattarki

Hi

Thanks for your request. Using Aspose.Words you can convert DOC file to WordML format (XML).

Here is the code:

Document doc = new Document("in.doc");
doc.Save("out.xml");

Hope this helps.

Best regards.