oElemProducto = GETINTERFACE(; objectThatSupports_IXMLDOMElement_interface, 'msxml.IXMLDOMElement' )>Hello, everybody.
>Dim oDocument As DOMDocument >Dim oElement As IXMLDOMElement >>
>LOCAL oDocument as MSXML2.DOMDocument >oDocument = createobject('msxml.domdocument') > >Local oElemProducto as MSXML2.IXMLDOMElement >oElemProducto = CreateObject( 'msxml.IXMLDOMElement' ) >>But the last line give me an error, saying that class definition "msxml.IXMLDOMElement" doesn't exist. This is true, as this is an Interface, not a class, as I can see it in the Object Browser.
>Set oElement = oDocument.documentElement > >With oElement > oHolder.cProduct = .getAttributeNode("Code").Text > oHolder.cDescrip = .getAttributeNode("Description").Text >end with >>And that's what he can't access.
Make solutions, not programs!