IXMLDOMNode *pNode;
//..........IXMLDOMElement *pElem;方法1(推荐):hr = pNode->QueryInterface(&pElem);方法2:hr = pNode->QueryInterface(IID_IXMLDOMElement, (LPVOID *)&pElem);方法3:hr = pNode->QueryInterface(IID_PPV_ARGS(&pElem));if (SUCCEEDED(hr)){ //..... pElem->Release();}