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. variable loading using XML

variable loading using XML

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpc++htmlsysadmin
4 Posts 3 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.
  • J Offline
    J Offline
    Jon Newman
    wrote on last edited by
    #1

    I am developing an app that will read an XML file from a standard web server and use its contents as variables in a dialog based app. I will be using it to read member profiles. There will be a separate XML document for each member using the following XML tags. Joe Bloggs 24 England and these will be displayed in the dialog as: Name: Joe Bloggs Age: 24 Location: England The field names are labels in the dialog and the variables are taken from the XML document. The idea of this is to be able to update user profiles myself without having to re-distribute the app or use a HTML web page control. Andy ideas would be gladly appreciated. .NET or not .NET? MFC is the question......

    H S 3 Replies Last reply
    0
    • J Jon Newman

      I am developing an app that will read an XML file from a standard web server and use its contents as variables in a dialog based app. I will be using it to read member profiles. There will be a separate XML document for each member using the following XML tags. Joe Bloggs 24 England and these will be displayed in the dialog as: Name: Joe Bloggs Age: 24 Location: England The field names are labels in the dialog and the variables are taken from the XML document. The idea of this is to be able to update user profiles myself without having to re-distribute the app or use a HTML web page control. Andy ideas would be gladly appreciated. .NET or not .NET? MFC is the question......

      H Offline
      H Offline
      HintiFlo
      wrote on last edited by
      #2

      Take a look at CPs XML/Soap-corner! mfg HintiFlo

      1 Reply Last reply
      0
      • J Jon Newman

        I am developing an app that will read an XML file from a standard web server and use its contents as variables in a dialog based app. I will be using it to read member profiles. There will be a separate XML document for each member using the following XML tags. Joe Bloggs 24 England and these will be displayed in the dialog as: Name: Joe Bloggs Age: 24 Location: England The field names are labels in the dialog and the variables are taken from the XML document. The idea of this is to be able to update user profiles myself without having to re-distribute the app or use a HTML web page control. Andy ideas would be gladly appreciated. .NET or not .NET? MFC is the question......

        S Offline
        S Offline
        Stan Shannon
        wrote on last edited by
        #3

        I'm sort of playing around with the same stuff right now. You need to use a parser and that sort of means MS's parser. You might take a look at the following site: http://www.earthweb.com/article/0,,10455\_629271,00.html It contains about as much useful information as I've found so far. As usual the MSDN documentation for the C++ side is very sparse. Let me know what you find out. "Thank you, thank you very much" Elvis.

        1 Reply Last reply
        0
        • J Jon Newman

          I am developing an app that will read an XML file from a standard web server and use its contents as variables in a dialog based app. I will be using it to read member profiles. There will be a separate XML document for each member using the following XML tags. Joe Bloggs 24 England and these will be displayed in the dialog as: Name: Joe Bloggs Age: 24 Location: England The field names are labels in the dialog and the variables are taken from the XML document. The idea of this is to be able to update user profiles myself without having to re-distribute the app or use a HTML web page control. Andy ideas would be gladly appreciated. .NET or not .NET? MFC is the question......

          S Offline
          S Offline
          Stan Shannon
          wrote on last edited by
          #4

          Here's another link: http://p2p.wrox.com/content/comdev/ie5xml.asp Also, after looking a little more closely at MSDN it is a little more thorough than I thought at first. The "XML Dom Methods" section under the XML section (Platform SDK Documentation/Data Services/XML...) should be enough to get you started. I'm up and rolling now. "Thank you, thank you very much" Elvis.

          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