INFO: Loading/Saving XML Data Using the Internet Explorer XML Parser

ID: Q223337


The information in this article applies to:


SUMMARY

This article contains a list of methods supported by the Internet Explorer XML parser (MSXML) available for loading and saving XML data.


MORE INFORMATION

When loading or saving data from MSXML, the default behavior is either synchronous or asynchronous, and code must take this into account. Code that uses an asynchronous call to load the XML data must not access the resulting XML object model until the readyState property of the document is set to "complete." Code that uses a synchronous call can access the XML object model immediately after the load operation.

In the version of MSXML that ships with Internet Explorer 4.01 Service Pack 1 and higher, code that uses any of the asynchronous methods can change them to work asynchronously by setting the async property to true.
In the following lists, methods that are asynchronous by default are followed by "ASYNC." All others are synchronous by default.

For the version of MSXML that ships with Internet Explorer 4, the supported methods for loading and saving data are as follows:

For the version of MSXML that ships with Internet Explorer 5, the supported methods for loading and saving data are as follows: IXMLDOMDocument::load() takes a VARIANT parameter as input. The acceptable values for this parameter are as follows:
Analogously, IXMLDOMDocument::save() also takes a VARIANT parameter as input. The acceptable values for this parameter are as follows:


REFERENCES

Please refer to the XML Document object model documentation on the MSDN Online Web Workshop.

Additional query words:


Keywords          : kbIE400 kbIE401 kbIE401sp1 kbIE401sp2 kbGrpInet kbIE500 kbXML 
Version           : WINDOWS:4.0,4.01,4.01 SP1,4.01 SP2,5.0
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: June 24, 1999