Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. XML

XML

Scheduled Pinned Locked Moved Article Writing
c++xmlsysadmin
3 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MeTwo
    wrote on last edited by
    #1

    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,

    M 1 Reply Last reply
    0
    • M MeTwo

      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,

      M Offline
      M Offline
      Michael A Barnhart
      wrote on last edited by
      #2

      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.

      M 1 Reply Last reply
      0
      • M Michael A Barnhart

        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.

        M Offline
        M Offline
        me 0
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups