Click to return to the XML (Extensible Markup Language) home page    
XMLDOMAttribute Object     XMLDOMCharacterData Objec...     XML XMLDOM Objects    
Web Workshop  |  XML (Extensible Markup Language)

XMLDOMCDATASection Object


CDATA sections are used to quote or escape blocks of text to keep that text from being interpreted as markup language.

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 XMLDOMText object, note that unlike text nodes, the XMLDOMElement object's normalize method does not merge CDATASection nodes.

This object has no unique properties or methods of its own, but exposes the same objects and properties as the XMLDOMText object.

Members



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.