How-to articles, tricks, and solutions about CDATA
PHP: How to handle <![CDATA[ with SimpleXMLElement?
You can use the addCData() method of the SimpleXMLElement class to add a CDATA section to an XML element.