Document Object
The createCDATASection() method creates a CDATA section node.
This method returns a CDATASection object.
| Parameter | Description |
|---|---|
| data | A string that specifies the data for the node |
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and adds a CDATA section node to the <book> element:
Document Object
Your message has been sent to W3Schools.