Forum


Replies: 2   Views: 180
Createdocxfromtemplate error : getelementsbytagname()
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by ordersvrc  · 18-12-2023 - 02:15

Update... after familiarizing myself with your code, I determined that the problem was that the structure of my .docx files was much different then what you were searching.... 


I didnt want mess with too many things so I added the below to your getFromZip method.=
 

if(!$XMLData){

                $XMLData = $this->_zipDocx->getContent(str_replace('word/','',$src));

}