We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Using DocIO to convert XML based info files to Word documents?

Hi,

I'm completely new to the Syncfusion DocIO product.

Before, I start digging in the evaluation, I want to ask if it is feasible to use DocIO to start the development of a program in Visual Studio with the DocIO API?

The goal is to have a service which can translate XML based info files to the Microsoft Word format.

Thanks for your advice.

Johan Vermeire
Software engineer


1 Reply

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



Loader.
Live Chat Icon For mobile
Up arrow icon