Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

IXMLDOMAttribute | IXMLDOMCDATASection | IXMLDOMCharacterData | IXMLDOMComment | IXMLDOMDocument-DOMDocument | IXMLDOMDocumentFragment | IXMLDOMDocumentType | IXMLDOMElement | IXMLDOMEntity | IXMLDOMEntityReference | IXMLDOMNode | IXMLDOMNotation | IXMLDOMProcessingInstruction | IXMLDOMText

© 2018 Microsoft