I'd like to display the contents of an XML file using the Mozilla
ActiveX control (1.7.1).    Below is some of the code:

//Code creating the control skipped...
CComPtr<IWebBrowser2> pBrowser;
HRESULT hr = GetBrowser(&pBrowser);
CComVariant url = L"file:///c:/temp/test.xml";
CComVariant flags = 0;
pBrowser->Navigate2(&url, &flags, NULL, NULL, NULL);

test.xml was downloaded from http://www.mozilla.org/projects/xslt/ with
its associated stylesheet.

After the Navigate2 call, the control displays the content of the file
without any transformation (the xsl stylesheet was not used).  The same
code works fine for embedded IE; it also works if I copy the url and
paste it into an independent Firefox window.

What am I missing?

_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to