XML DOM access
Posted on 2003-03-11
I wrote an ActiveX controller to manipulate the html pages in the browser. I can access the html DOM, but now i wannt to acess the XMLDOM to be able to use Xpath expressions to manipulate the page. So the question: can I access the XMLDOM of the page in the browser like i did it wiht the htmlDOM:
IOleClientSite *pClientSite = NULL;
pClientSite = GetClientSite();
IOleContainer* pDocDisp = NULL;
IHTMLDocument2* pDoc = NULL;
This way i have the pointer to the html document (actually not the DOM, but doesnt matter).