Forum


Replies: 10   Views: 11349
Warning: domdocument::loadxml(): empty string supplied as input
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 admin  · 19-02-2015 - 13:37

Hello, Your code has a mistake. You can't use this line: $wf = new \Phpdocx\Elements\WordFragment(); You need to set the DOCX: $wf = new \Phpdocx\Elements\WordFragment($docx); With this minor change the script works perfectly. Regards.