Loads an XML document from the specified location.
boolValue = oXMLDOMDocument.load(xmlSource)
HRESULT load( VARIANT xmlSource, VARIANT_BOOL *isSuccessful);
The load behavior differs based on the object specified by the xmlSource parameter.
Object | Description |
---|---|
string | Specifies the URL to be loaded. This URL must meet basic security constraints to be accessed. If the URL cannot be resolved or accessed or does not reference an XML document, this method returns an error and sets the IXMLDOMDocument interface's documentElement property to Null. |
ASP Request object | Reads and parses the data from the Request object. |
Calling load or loadXML on an existing document immediately discards the content of the document.
This member is an extension of the W3C DOM.
IXMLDOMDocument Interface | XML DOM Persistence