How to create a "VALID DOCX" using Coldfusion?

562 views Asked by At

Edit When we read a valid .docx file using <cfzip> we'll get an xml string as a result. We can edit this xml

<cfzip action="read" file="#pathToDocx#" entrypath="word\document.xml" variable="xmlString">
<cfset xmlPara = xmlparse(xmlString).document.body>

Question I am trying trying to create a valid docx file using ColdFusion and trying to get access to document.xml file.We can get access to the "document.xml" file which contains all the data in that docx file when we read. But can we reverse engineer this to save update a .docx file?

0

There are 0 answers