Loading and Saving XML files

Discussion in 'C' started by sknew, Feb 11, 2009.

  1. sknew

    sknew New Member

    Joined:
    Feb 11, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I have to write a code in Native C++ using which i have to load the contents of an XML into GUI and write back the changes done (pertaining to parameters) into another xml which is a replica of the loaded XML. The usage of TinyXml is a must. Please help.
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
  3. sknew

    sknew New Member

    Joined:
    Feb 11, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    thanks a lot for the reply but i have already checked that. My requirement cannot be sufficed with what they have given. Can you kindly help me with creation of replica of an XML using TinyXml ofcourse. I will get a map or vector from the GUI.The map will conatin all the values, even the one which have not been changed. So in a way, i have to override all the child values, but since i dont have the names of the labels used in GUI, i have to consider the 1st value as the value of first child and so on. Pls help.
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Can't you adapt what they have given? It's true that most tutorials don't give you code that will directly solve your problem, the idea is that you take that code, understand it and modify it to produce the effect you want.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice