c++msxmlmsxml6

How to do transformNodeToObject with MS XML 6.0


In MS XML 4.0 you could have variables (using C++ here)

IXMLDOMDocument2Ptr spDocSource;
IXMLDOMDocument2Ptr spDocResult;
IXMLDOMDocument2Ptr spDocStylesheet;

and then load them up and do a transformation like

spDocSource->transformNodeToObject(spDocStylesheet, vResultDoc);

But in 6.0 it appears the function transformNodeToObject is gone. How should I do it now? All documentation I find is either about the obsolete 4.0 or don't seem to mention anything about it.


Solution

  • It is actually there. It's just your compiler that need a good whack with a mallet or another blunt object. Try doing a clean build.