Passing MSXML document to a activex control using JScript  
Author Message
smk_k





PostPosted: Internet Explorer Extension Development, Passing MSXML document to a activex control using JScript Top

I want to pass a MSXML document to an activex control using JScript. I have tried it but it sends a IDispach pointer. I also need to convert the passed xml document in to a string.

Is there anyway that I can chaneg the passed IDispatch pointer to IXMLDocument or something like that.



Internet Explorer Development1  
 
 
Sharath Udupa





PostPosted: Internet Explorer Extension Development, Passing MSXML document to a activex control using JScript Top

I dont know whose IDispatch interface you have, but have you looked at IXMLDOMDocument of MSXML http://windowssdk.msdn.microsoft.com/en-us/library/ms756987.aspx

If the IDispatch interface is of that object, you could just call QueryInterface for the required interface.