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 Sven May  · 19-02-2015 - 09:45

Thanks! I did not think that could be the problem! Tidy is installed! I checked! But if I use htmlspecialchars...the suited content will be a text :( So this is not a good solution :( You meant that? My code is: $docx = new \Phpdocx\Create\CreateDocx(); $wf = new Phpdocx\Elements\WordFragment(); $wf->embedHTML(htmlspecialchars('
  1. check enabled (warning appears if length < TORA)
  2. check disabled
' ); $docx->createDocx('numbering_test');