DOMCdataSection::__constructConstructs a new DOMCdataSection object Description
public DOMCdataSection::__construct(string
$data )Constructs a new CDATA node. This works like the DOMText class. Parameters
Examples
Example #1 Creating a new DOMCdataSection object
The above example will output: <?xml version="1.0" encoding="utf-8"?> <root><![CDATA[root value]]></root> See Also
|