NYWalker
November 28th, 2002, 07:23 AM
Hi Gurus,
I have a greate trouble while updating the value of text node. I have a pointer to the node from existing XML document:
----------------------
IXMLDOMNodePtr pNode;
TCHAR szTmp[100];
VARIANT varTmp;
_stprintf(szTmp,"%d",newid);
varTmp.vt=VT_BSTR; varTmp.bstrVal=_bstr_t(szTmp);
pNodeFilter->put_nodeTypedValue(varTmp);
----------------------
This works on systems with IE 6.0 installed.
This doesn't work on systems with IE 5.x installed.
Please help me! How to update the node on systems with IE 5.x installed ?
I'm a XML novice so any ideas appreciated.
I have a greate trouble while updating the value of text node. I have a pointer to the node from existing XML document:
----------------------
IXMLDOMNodePtr pNode;
TCHAR szTmp[100];
VARIANT varTmp;
_stprintf(szTmp,"%d",newid);
varTmp.vt=VT_BSTR; varTmp.bstrVal=_bstr_t(szTmp);
pNodeFilter->put_nodeTypedValue(varTmp);
----------------------
This works on systems with IE 6.0 installed.
This doesn't work on systems with IE 5.x installed.
Please help me! How to update the node on systems with IE 5.x installed ?
I'm a XML novice so any ideas appreciated.