August 2006
Intermediate to advanced
1018 pages
34h 13m
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.
Read now
Unlock full access