November 2001
Intermediate to advanced
936 pages
68h 43m
English
Content preview from JavaScript: The Definitive Guide, Fourth EditionBecome an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
Start your free trial

Name
CDATASection — a CDATA section in an XML document
Availability
DOM Level 1 XML
Inherits from/Overrides
Node → CharacterData → Text → CDATASection
Description
This infrequently used interface represents a CDATA section in an XML document. Programmers working with HTML documents never encounter nodes of this type and do not need to use this interface.
CDATASection is a subinterface of Text and does not define any
properties or methods of its own. The textual content of the CDATA
section is available through the nodeValue
property inherited from Node or through the data
property inherited from CharacterData. Although CDATASection nodes
can often be treated in the same way as Text nodes, note that the
Node.normalize( ) method does not merge adjacent
CDATA sections.