org.w3c.dom.Document.createCDATASection
method
public createCDATASection(data as String) as CDATASection throws DOMException
Description

Creates a CDATA section node.

Parameters
  • data CDATA content.
Returns

New CDATA section.

Throws
  • DOMException if the content is invalid.
Example
cdata = document.createCDATASection("raw <xml>")