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. General Programming
  3. C / C++ / MFC
  4. XML Parsing & Downloading a URI

XML Parsing & Downloading a URI

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpc++xmljson
4 Posts 4 Posters 0 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.
  • C Offline
    C Offline
    chasetoys
    wrote on last edited by
    #1

    Hey folks: How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpful. Help your local noob. :P

    T RaviBeeR T 3 Replies Last reply
    0
    • C chasetoys

      Hey folks: How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpful. Help your local noob. :P

      T Offline
      T Offline
      Taka Muraoka
      wrote on last edited by
      #2

      chasetoys wrote:

      Easily parse thru XML

      Search for MSXML. Or use a third-party parser like Expat.

      chasetoys wrote:

      Once I have a URI, how can I download *all associated content*

      You have to do this yourself, extract all the various elements and download them individually. Or you can download the page to an MHT file.

      chasetoys wrote:

      How can I send XML over HTTP?

      It's just an HTTP POST.


      0 bottles of beer on the wall, 0 bottles of beer, you take 1 down, pass it around, 4294967295 bottles of beer on the wall. Awasu 2.2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

      1 Reply Last reply
      0
      • C chasetoys

        Hey folks: How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpful. Help your local noob. :P

        RaviBeeR Offline
        RaviBeeR Offline
        RaviBee
        wrote on last edited by
        #3

        Perhaps this[^] article will help? /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

        1 Reply Last reply
        0
        • C chasetoys

          Hey folks: How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpful. Help your local noob. :P

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          chasetoys wrote:

          How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpf

          For Internet related Activity :- http://www.codeproject.com/internet/amhttputils.asp[^] For XML related activity :- www.codeproject.com/soap/markuparchive.asp[^]

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

          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