Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMCDATASection Inter...     IXMLDOMComment Interface     XML DOM Interfaces    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMCharacterData Interface


This interface provides text manipulation methods that are used by several objects.

IXMLDOMCharacterData Methods

appendData Appends the supplied string to the existing string data.
data Contains this node's data, which depends on the node type.
deleteData Deletes the specified substring within the string data.
insertData Inserts the supplied string at the specified offset.
length Specifies the length, in characters, of the data.
replaceData Replaces the specified number of characters with the supplied string.
substringData Retrieves a substring of the full string from the specified range.

Remarks

The IXMLDOMCharacterData object does not directly correspond to any node type. Its methods are reused by the IXMLDOMText, IXMLDOMComment, and IXMLDOMCDATASection objects. These methods handle large amounts of text, including sizes larger than can be manipulated natively using string constructs.

Interface Information

Implementation Msxml.dll
Inherits from IXMLDOMNode
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.