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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

98775 Mar 29,2011 02:47 PM UTC Apr 1,2011 11:04 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
Johan Vermeire
Asked On March 29, 2011 02:47 PM UTC

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


Poornima R [Syncfusion]
Replied On 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



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;