DOCX.js
DOCX.js copied to clipboard
Corrupted Word Document in PhoneGap / Cordova
I have used your script for generating a Word docx document in my app developed in PhoneGap / Cordova for Android and iOS. However, it fails to create a valid docx document. The generated document displays an error message stating "File is corrupt and cannot be opened" in all readers.
I suspect the problem lies while accessing the xml files packaged with your script using XmlHttpRequest object since I get the similar problem while testing on Chrome browser.
Does your script support PhoneGap / Cordova?
Hi,
Did you find a solution ?