Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
CDATA sections are used to "quote" or "escape" blocks of text so that text is not interpreted as markup.
IDOMCDATASection Methods
This interface has no unique methods of its own, but exposes the inherited methods from the IDOMText 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 CDATA section object inherits the DOMText object, note that unlike text nodes, the IDOMElement object's normalize method does not merge CDATASection nodes.
Interface Information
Implementation Msxml.dll Inherits from IDOMText Header and IDL files Msxml.h, Dom.idl Minimum availability Internet Explorer 5 Beta Minimum operating systems Windows 95, Windows NT
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.