This project is read-only.

Can we use libOPC to export XML file to MS.word for IOS development?

Aug 29, 2012 at 3:11 AM

I am developing an IOS app which need to export from XML to MS.Word. I tried to find sample that work for iOS development (objective-c), but i can't. 

i want to know does libOPC provide feature for convert xml to MS.word?

If can, how can i do that?


Please give me some idea....

Thanks in advance....

Aug 30, 2012 at 9:39 PM


Libopc can be used to create Word .DOCX document from an XML stream. And it can be done on the iPhone too. Its more or less designed to do so .;-)

I'm currently writing a series of blogposts about libopc on If you can be more specific about the problem I'm happy to address it in one of the posts.


Aug 31, 2012 at 3:45 AM
Edited Aug 31, 2012 at 4:41 AM

Hi Florian,

Thanks so much for reply...

My problem is i have a Xml file and i want to convert this xml file to ms.word (.docx) file. 

EX: My xml file                                                                                               



<title>The Best World</title>





Convert to ms.word with content: 


The Best World



I don't know how to code libOPC in iOS (objective-c).

Can you please give me some clue?


Thank so much.....

Sep 26, 2012 at 9:34 AM
Edited Sep 26, 2012 at 9:36 AM

Get familiar with the OOXML specs. has some good video's to get you started.

Make sure you read the examples on this ( website as it has numerous examples on how to use LibOPC to read and write docx and check out the sample folder in the code.