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. XML / XSL
  4. How to extract specific data values from xml using VC++ [modified]

How to extract specific data values from xml using VC++ [modified]

Scheduled Pinned Locked Moved XML / XSL
tutorialc++xmlhelp
3 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.
  • Z Offline
    Z Offline
    zxc89
    wrote on last edited by
    #1

    Hi.. Can some one please help me how to extract the data values from the following XML file using C++ code. From the following example, we can observe two types of "CfgType"(Ane Justin and Jessica Sis). Under each "CfgType" there are different "MachineModel" and under that "ModelNo" and followed by "ScreenResolution". Ane Justin 2345678 17" LCD 1024*768 60 800*600 60 19" LCD 1024*768 60 800*600 60 0789456 17" CRT 1024*768 60 800*600 60 19" CRT 1024*768 60 800*600 60

    S N 2 Replies Last reply
    0
    • Z zxc89

      Hi.. Can some one please help me how to extract the data values from the following XML file using C++ code. From the following example, we can observe two types of "CfgType"(Ane Justin and Jessica Sis). Under each "CfgType" there are different "MachineModel" and under that "ModelNo" and followed by "ScreenResolution". Ane Justin 2345678 17" LCD 1024*768 60 800*600 60 19" LCD 1024*768 60 800*600 60 0789456 17" CRT 1024*768 60 800*600 60 19" CRT 1024*768 60 800*600 60

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      Certainly nobody will write the whole code for you. Try it yourself and if you get stuck on some specific point come back here and we'll be glad to help you. If you use .NET take a look at the System.Xml namespace. Otherwise MSXML may be interesting to you.


      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

      www.troschuetz.de

      1 Reply Last reply
      0
      • Z zxc89

        Hi.. Can some one please help me how to extract the data values from the following XML file using C++ code. From the following example, we can observe two types of "CfgType"(Ane Justin and Jessica Sis). Under each "CfgType" there are different "MachineModel" and under that "ModelNo" and followed by "ScreenResolution". Ane Justin 2345678 17" LCD 1024*768 60 800*600 60 19" LCD 1024*768 60 800*600 60 0789456 17" CRT 1024*768 60 800*600 60 19" CRT 1024*768 60 800*600 60

        N Offline
        N Offline
        Nathan Holt at EMOM
        wrote on last edited by
        #3

        I suggest starting by studying MSXML. In the MSDN library (msdn.microsoft.com), it's under "Win32 and COM Developement/Data Access and Storage/MSXML" This documents some software that you can download for free from MSDN downloads. Nathan

        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