DOMDocument
PHP Manual

DOMDocument::createCDATASection

(PHP 5)

DOMDocument::createCDATASectionCreate new cdata node

Descrição

public DOMCDATASection DOMDocument::createCDATASection ( string $data )

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


DOMDocument
PHP Manual