RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLDocument.AsyncLoadState Property

Indicates the state of the DOM parser when it parses the XML document asynchronously.

Pascal
property AsyncLoadState: Integer;
C++
__property int AsyncLoadState;

Use AsyncLoadState to determine that status of the DOM parser when it is parsing an XML document asynchronously. The value of AsyncLoadState is vendor-specific. That is, each DOM parser that loads and parses an XML document asynchronously supplies its own flags to indicate state information. 

When the DOM vendor is MSXML, AsyncLoadState can have any of the following values:

Value 
Meaning 
0  
Uninitialized: The AsyncLoadState is not assigned. (Usually indicates that the parser has not tried to parse a document or it is not parsing the document asynchronously.)  
1  
Loading: The parser is currently parsing the structure of the XML document.  
2  
Loaded: The parser has finished reading and parsing the structure of the XML document, but the corresponding DOM interfaces are not yet available.  
3  
Interactive: The parser has parsed the structure of the XML document, the corresponding DOM interfaces are available, but the parser has not finished reading all the node values.  
4  
Complete: The parser has fully read and parsed the XML document.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!