Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMAttribute Interfac...     IXMLDOMCharacterData Inte...     XML DOM Interfaces    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMCDATASection Interface


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.