Replies: 2   Views: 3679
Domdocument::loadxml(): namespace prefix wp14 on sizerelh is not defined
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 redpotatojae  · 17-10-2013 - 15:59

Hello there,

I have been trying to prove PHPDOCX would work in our environment so our company can purchase PHPDOCX product.

What we basically need is merging several word documents and filling out templates with merge fields.

this is very simple code I added, but I get 'Namespace prefix wp14 on sizeRelH is not defined' error

$docx = new CreateDocx();






Posted by jorgelj  · 17-10-2013 - 19:29


That merge method is deprecated and it'll be removed on the next version. The recommended merge method is the included with DocxUtilities.

As the trial doesn't include this class you can contact us to send the files and get the output test of the document.