Click to return to the XML (Extensible Markup Language) home page    
XMLDOMNode parentNode Pro...     XMLDOMNode prefix Propert...     XMLDOMNode Object    
Web Workshop  |  XML (Extensible Markup Language)

parsed Property


Contains true if this node and all descendants have been parsed and instantiated, or false if any nodes remain to be parsed.

Syntax

boolValue = oXMLDOMNode.parsed

Remarks

Boolean. The property is read-only. During asynchronous access, not all of the document tree might be available. Before performing some operations, such as XSL transformations 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 W3C DOM.

Example

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

Dim xmlDoc
Dim root

Set xmlDoc = CreateObject("microsoft.xmldom")
xmlDoc.async = False
xmlDoc.load("c:\books.xml")
Set root = xmlDoc.documentElement
MsgBox root.parsed

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
XMLDOMAttribute, XMLDOMCDATASection, XMLDOMCharacterData, XMLDOMComment, XMLDOMDocument, XMLDOMElement, XMLDOMDocumentFragment, XMLDOMDocumentType, XMLDOMEntity, XMLDOMEntityReference, XMLDOMNode, XMLDOMNotation, XMLDOMProcessingInstruction, XMLDOMText, XTLRuntime


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.