CDATA sections are used to quote or escape blocks of text so that text is not interpreted as markup language.
IXMLDOMCDATASection Methods
This interface has no unique methods of its own, but exposes the inherited methods from the IXMLDOMText interface.
Remarks
CDATA sections let you include material such as XML fragments within XML documents without needing to escape all the delimiters. The only delimiter recognized in a CDATA section is the ]]> string that ends the CDATA section.
CDATA sections cannot be nested.
The text contained by the CDATA section is stored in a text node. Note that this text can contain characters that need to be escaped outside of CDATA sections.
Although the CDATASection object inherits the XMLDOMText object, note that unlike text nodes, the IXMLDOMElement interface's normalize method does not merge CDATASection nodes.
Interface Information
Implementation | Msxml.dll |
Inherits from | IXMLDOMText |
Header and IDL files | Msxml.h, Xmldom.idl |
Minimum availability | Internet Explorer 5 |
Minimum operating systems | Windows 95, Windows NT 4.0 |