IXMLDOMElement from IXMLDOMNode - how ???

R

ragi

It's part of code:

IXMLDOMElement *pPar = NULL, *pChild= NULL;
IXMLDOMNode *pNode = NULL;

bstr = SysAllocString(L"1sth");
pXMLDom->createElement(bstr, &pPar);
SysFreeString(bstr);

bstr = SysAllocString(L"2sth");
pXMLDom->createElement(bstr, &pChild);
SysFreeString(bstr);

pPar->appendChild(pChild, &pNode),



and now when I'm trying get parent from pChild



pNode = NULL;
pChild->get_parentNode(pNode);



pNode have diffrent address than pPar. How can I get proper address of
pPar from pChild ?????
 
S

Sharad Kala

[OT code snipped]
pNode have diffrent address than pPar. How can I get proper address of
pPar from pChild ?????

Yesterday only I replied to a similar kind of *off-topic* question from you.
Yiu may want to read the welcome message for this newsgroup -
http://www.slack.net/~shiva/welcome.txt. Please post your question to some
XML related newsgroup, it helps to preserve signal to noise ratio here.

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top