hi to all.
I'm loading an xml string into an IXMLDOMDocument via loadXML.
Why does it return to me the # -1.I'm assuming it means that it didn't load properly.

However ,I did it in a try/catch and it doesn't throw any _com_error exceptions,so obviously something else must be wrong.

Everything else involved in setting up the DOMDocument works.

Also when trying to get the root document I use the following code:

m_pDocRoot = pXMLDoc->documentElement;
pXMLDoc->get_documentElement(&m_pDocRoot);

if the DOMDocument would load correctly would that code be sufficient or does it need more??

Thanks
Getzel