Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides text manipulation methods that are used by several objects.
Jscript Example
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.6.0");
var nodeDescription;
xmlDoc.async = false;
xmlDoc.setProperty("SelectionLanguage", "XPath");
xmlDoc.load("books.xml");
if (xmlDoc.parseError.errorCode != 0) {
var myErr = xmlDoc.parseError;
WScript.Echo("You have error " + myErr.reason);
} else {
nodeDescription = xmlDoc.selectSingleNode("//description");
WScript.Echo(nodeDescription.text);
}
Remarks
IXMLDOMCharacterData
does not directly correspond to any node type. Methods are reused by IXMLDOMCDATASection
, IXMLDOMComment
, and IXMLDOMText
. These methods handle large amounts of text, including sizes larger than can be manipulated natively using string constructs.
Requirements
Implementation:
msxml3.dll, msxml2.lib (MSXML 3.0)
msxml6.dll, msxml6.lib (MSXML 6.0)
Header and IDL files (C/C++): msxml2.h, msxml2.idl, msxml6.h, msxml6.idl
Versioning
Implemented in: MSXML 3.0, MSXML 6.0
See Also
IXMLDOMCDATASection
IXMLDOMCharacterData Members
IXMLDOMComment
IXMLDOMElement
IXMLDOMText