Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Loads an XML document using the supplied string.
Syntax
HRESULT loadXML( BSTR xmlString, VARIANT_BOOL * isSuccessful);
Parameters
- xmlString
- [in] XML string to load into this XML document object. This string can contain an entire XML document or a well-formed fragment.
- isSuccessful
- [out] True if the XML load succeeded. Returns false and sets the IDOMDocument object's documentElement property to NULL if the XML load failed.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
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.