PR
Poornima R
Syncfusion Team
April 1, 2011 11:04 AM UTC
Hi Johan,
Thank you for your interest in Syncfusion products.
Currently Essential DocIO provides support for only basic conversion from Xml to Word document and vice versa. Please find the code snippet for the same from below
Code snippet for Xml to Word conversion:
WordDocument document = new WordDocument("Input.xml",FormatType.Xml );
document.Save("Sample.doc", FormatType.Doc );
Code snippet for Word to Xml conversion:
WordDocument document = new WordDocument("Input.doc",FormatType.Doc );
document.Save("Sample.xml", FormatType.Xml );
Please let us know if you have any questions.
Regards,
Poornima