Forum


Replies: 8   Views: 3850
Importstyles issues
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 Alain DIAS  · 19-11-2015 - 08:04

I've already tried imporStyles method too. But when I try to apply one of my custom style, I felt of that weird error (see below):

ContextErrorException: Warning: DOMDocument::loadXML(): xmlParseEntityRef: no name in Entity, line: 6694 in PHPDOCX\classes\CreateDocx.inc line 983

I've googlised the error, and I found on stackoverflow that explanation : http://stackoverflow.com/questions/7604436/xmlparseentityref-no-name-warnings-while-loading-xml-into-a-php-file . I tried to search a & symbol in my template and in my text that I passed in the addText method . But no & symbol found.