Click here to Skip to main content
16,000,985 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

Can tell me how to convert an input file which can be any of .docx,.xlsx,.pptx ,xls etc,. into xml file in C#.

It will be helpfull if u provide any example applications.


Thanks
LEE
Posted

1 solution

They are all office formats, so you'd need to use the Microsoft Tools for Office to interop with Office, which would need to be installed, to read the data and then export it to XML.

Google has tons of examples of Office interop.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900