Windows Dev Center

Expand Minimize

parsed Property

Indicates the parsed status of the node and child nodes.

boolValue = oXMLDOMNode.parsed;


The following script example displays whether or not the top-level node (root) and all its descendants are parsed.

var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0");
var root;
xmlDoc.async = true;
if (xmlDoc.parseError.errorCode != 0) {
   var myErr = xmlDoc.parseError;
   WScript.Echo("You have error " + myErr.reason);
} else {
   root = xmlDoc.documentElement;
   WScript.Echo(root.parsed ? "true" : "false");

boolValue = oXMLDOMNode.parsed

HRESULT parsed(
    VARIANT_BOOL *isParsed);


isParsed[out, retval]

True if this node and all descendants have been parsed; False if any descendants remain to be parsed.

C/C++ Return Values


The value returned if successful.


The value returned if the isParsed parameter is Null.

Boolean. The property is read-only. During asynchronous access, not all of the document tree may be available. Before performing some operations, such as XSLT or pattern-matching operations, it is useful to know whether the entire tree below this node is available for processing.

This member is an extension of the World Wide Web Consortium (W3C) Document Object Model (DOM).

Implemented in:

MSXML 3.0 and MSXML 6.0

© 2015 Microsoft