dhtmlx schedular export to pdf

I am having problem in exportinf to PDF i am using php library for it
SimpleXMLElement::__construct() [simplexmlelement.–construct]: Entity: line 1: parser error : Start tag expected, ‘<’ not found

after searching on forum i used urldecode($xmlString) for fixing this problem but Its not fixed and its exporting schudlar in .php format and when I am checking the variable by echo urldecode($xmlString) its display nothing.

can any one hlep me regarding it

Try to enable debug flag and provide the error report file.
docs.dhtmlx.com/doku.php?id=dhtm … _reporting