XML
-
I would like to see some C++/MFC code that displays an XMLdocument, using the windows IE control. The trick (I think) is that I'd like to use an xsl file to format the data, but just use an IStream to hold the actual XML, rather than a file. I don't think this should be too hard, but I cannot find any examples that use a single application (ie no client server) and a stream, rather than a file for the XML. Thanks,
-
I would like to see some C++/MFC code that displays an XMLdocument, using the windows IE control. The trick (I think) is that I'd like to use an xsl file to format the data, but just use an IStream to hold the actual XML, rather than a file. I don't think this should be too hard, but I cannot find any examples that use a single application (ie no client server) and a stream, rather than a file for the XML. Thanks,
What I have done is use the CMemFile class and read my data in from a HTTP or FTP stream. I then send that "file" to be processed. I have not used the IE control.
-
What I have done is use the CMemFile class and read my data in from a HTTP or FTP stream. I then send that "file" to be processed. I have not used the IE control.
My problem is connecting the memory object (IStream, I thought, but a CMemFile may be as good, or better) with the xml object (I guess you can use the DOM stuff)and the IE object. I know little/nothing about the available functionality of IE and DOM, except for a quick flick through the documentation. I was hoping some one knew (and had used?) the stuff and could point me in the correct direction.