Compability: Internet Explorer
This property returns a boolean value of true if this node and all of its descendants have been parsed and instantiated. Otherwise it returns false.
During asynchronous access, not all of the document tree may be available, and this property allows you to determine whether that is the case before performing such operations as XSL transformations or pattern-matching.
Set objXMLDoc = CreateObject("Microsoft.XMLDOM")
objXMLDoc.async = True
objXMLDoc.load("staff.xml")
Set Root = objXMLDoc.documentElement
If Root.parsed Then
alert("Parsed")
Else
alert("Not Parsed")
End If
Parsed
In this example, the code loads the 'staff.xml' file, and gets the parsed property of the root element, displaying an appropriate message depending on the value returned.