delphi - Obtain IXMLDOMDocument2 from IXMLDocument -


i using delphi 2010 stock standard vcl libraries. target system win32.

if have reference ixmldocument, how can obtain ixmldomdocument2 interface underlying object ixmldocument wraps?

function getxmldomdocument2(const xmldocument: ixmldocument): ixmldomdocument2; begin result := (xmldocument.domdocument ixmldomnoderef).getxmldomnode ixmldomdocument2; end; 

Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

c++ - Accessing inactive union member and undefined behavior? -

php - Get uncommon values from two or more arrays -