DOMDocument::createCDATASection

(PHP 5, PHP 7)

DOMDocument::createCDATASectionCreate new cdata node

Descrição

public DOMDocument::createCDATASection ( string $data ) : DOMCDATASection

This function creates a new instance of class DOMCDATASection. Este nó não será exibido no documento a não ser que ele seja inserido, por exemplo, com DOMNode->appendChild().

Parâmetros

data

The content of the cdata.

Valor Retornado

The new DOMCDATASection or FALSE if an error occurred.

Veja Também