Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
CDATA sections are used to "quote" or "escape" blocks of text to keep that text from being interpreted as markup.
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 IDOMText object, note that unlike text nodes, the IDOMElement 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 IDOMText object.
Members
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.