The information in this article applies to:
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. CAUSEBy 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. RESOLUTIONTo ensure the document is loaded, either:
OR MORE INFORMATIONHere is an example fragment of VBScript that uses the async property:
Here is the equivalent solution in a Visual C++ host:
REFERENCESFor additional information about the asynchronous behavior of the Internet Explorer 5.0 XML parser, please see the following article in the Microsoft Knowledge Base: Q223337 Loading/saving XML data using the Internet Explorer XML parser For more information, please see the MSDN Web Workshop: http://msdn.microsoft.com/workshop/default.asp Additional query words: load IXMLDOMDocument
Keywords : kbGrpInet kbIE500 kbXML kbDSupport |
Last Reviewed: July 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |