(PHP 5, PHP 7)
Create new cdata node
public DOMCDATASection DOMDocument::createCDATASection ( string $data )
This function creates a new instance of class DOMCDATASection. This node will not show up in the document unless it is inserted with (e.g.) DOMNode::appendChild().
Parameters:
data
The content of the cdata.
Returns:
The new DOMCDATASection or FALSE
if an error occurred.
See also:
DOMDocument::createAttribute() -
DOMDocument::createAttributeNS() -
DOMDocument::createComment() -
DOMDocument::createDocumentFragment() -
DOMDocument::createElement() -
DOMDocument::createElementNS() -
DOMDocument::createEntityReference() -
Please login to continue.