Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Loads an XML document from the specified location.
Syntax
HRESULT load( BSTR url, VARIANT_BOOL * isSuccessful);
Parameters
- url
- [in] Universal resource locator (URL) that specifies the location of the XML file.
- isSuccessful
- [out] True if the load succeeded, or false if the load failed.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
If the URL cannot be resolved or accessed or does not reference an XML document, this method returns an error and sets the IDOMDocument interface's documentElement property to null.
Calling load or loadXML on an existing document immediately discards the content of the document.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.