March 2005
Beginner to intermediate
1254 pages
104h 21m
English
CDATASection
This interface represents a CDATA section in an XML
document. CDATASection is a subinterface of
Text and does not define any methods of its own.
The content of the CDATA section is available through the
getNodeValue( ) method inherited from Node, or
through the getData( ) method 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.
Figure 21-2. org.w3c.dom.CDATASection
public interface CDATASection extends Text {
}
Document.createCDATASection( )
Read now
Unlock full access