Hi guys,
I'm using DOMDocument to create an XML document but I can't see how to create an element who's value is encapsulated in CDATA.
Example:
<name><![CDATA[john smith]]></name>
I am currently trying to use DOMDocument::createCDATASection() but it does not allow me to create an element name.
Is this possible at all using DOMDocument?