From http://www.w3schools.com (Copyright Refsnes Data)
Complete Document Object Reference
The createCDATASection() method creates a CDATA section node.
This method returns a CDATASection object.
| createCDATASection(data) |
| 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:
Example
Try it yourself » |
Complete Document Object Reference
From http://www.w3schools.com (Copyright Refsnes Data)