November 2001
Intermediate to advanced
936 pages
68h 43m
English
Document.createCDATASection( ) — create a new CDATASection node
DOM Level 1 Core
CDATASection createCDATASection(Stringdata)
throws DOMException;data
The text of the CDATASection to create.
A newly created CDATASection node, with the specified
data as its contents.
If the document is an HTML document, this method throws a
DOMException with a code of
NOT_SUPPORTED_ERR because HTML documents do not
allow CDATASection nodes.