DOMCdataSection::__constructConstructs a new DOMCdataSection object Beschreibung
public DOMCdataSection::__construct
( string
$value
)Constructs a new CDATA node. This works like the DOMText class. Parameter-Liste
Beispiele
Beispiel #1 Creating a new DOMCdataSection object
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: <?xml version="1.0" encoding="utf-8"?> <root><![CDATA[root value]]></root> Siehe auch
|