Article ID: 221841 - Last Review: May 11, 2006 - Revision: 2.0 PRB: No Access XML Object Model After Call to XML Parser Load() MethodThis article was previously published under Q221841 SYMPTOMS
The load() method returns successfully but errors occur when accessing the MSXML Document Object Model. The XML document is valid, well-formed, and it contains no errors. This behavior may be intermittent and does not occur when loading the XML document from the local file system (file://). CAUSE
By default, the XML parser loads and parses an XML file asynchronously over HTTP. This means that portions of the document's object model will not be available to code immediately after load returns.
RESOLUTION
To ensure the document is loaded, either:
MORE INFORMATION
Here is an example fragment of VBScript that uses the async property:
REFERENCES
For additional information about the asynchronous behavior of the Internet Explorer 5.0 XML parser, please see the following
article in the Microsoft Knowledge Base:
223337
(http://support.microsoft.com/kb/223337/EN-US/
)
Loading/saving XML data using the Internet Explorer XML parser
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites: http://msdn.microsoft.com/ie/
(http://msdn.microsoft.com/ie/)
http://support.microsoft.com/iep (http://support.microsoft.com/iep) | Article Translations
|

Back to the top
