DOMDocument::createCDATASection

(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:

DOMNode::appendChild() -

DOMDocument::createAttribute() -

DOMDocument::createAttributeNS() -

DOMDocument::createComment() -

DOMDocument::createDocumentFragment() -

DOMDocument::createElement() -

DOMDocument::createElementNS() -

DOMDocument::createEntityReference() -

DOMDocument::createProcessingInstruction() -

DOMDocument::createTextNode() -

doc_php
2016-02-24 16:14:38
Comments
Leave a Comment

Please login to continue.