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