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. Open and write in XML-Document

Open and write in XML-Document

Scheduled Pinned Locked Moved C / C++ / MFC
xmlquestion
5 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.
  • H Offline
    H Offline
    hanno25
    wrote on last edited by
    #1

    Hi! DOes anybody know, what I have to do, if I want either to create an new .XML-File or open an existing .XML-File to write at the beginning of this file? I thought, that I can handle this like a normal text-file but that has been a mistake. So, if anybody knows something about this, please let me know! Thanks, Hanno

    D D 2 Replies Last reply
    0
    • H hanno25

      Hi! DOes anybody know, what I have to do, if I want either to create an new .XML-File or open an existing .XML-File to write at the beginning of this file? I thought, that I can handle this like a normal text-file but that has been a mistake. So, if anybody knows something about this, please let me know! Thanks, Hanno

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Use IXMLDocument or DOMDocument.


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "There is no death, only a change of worlds." - Native American Proverb

      H 1 Reply Last reply
      0
      • D David Crow

        Use IXMLDocument or DOMDocument.


        "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

        "There is no death, only a change of worlds." - Native American Proverb

        H Offline
        H Offline
        hanno25
        wrote on last edited by
        #3

        Thanks for your help. Could you send a small piece of code, explaning this a little bit? With best regards, Hanno

        D 1 Reply Last reply
        0
        • H hanno25

          Thanks for your help. Could you send a small piece of code, explaning this a little bit? With best regards, Hanno

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Why not just Google for those two interfaces? Also try CodeProject articles, and MSDN.


          "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

          "There is no death, only a change of worlds." - Native American Proverb

          1 Reply Last reply
          0
          • H hanno25

            Hi! DOes anybody know, what I have to do, if I want either to create an new .XML-File or open an existing .XML-File to write at the beginning of this file? I thought, that I can handle this like a normal text-file but that has been a mistake. So, if anybody knows something about this, please let me know! Thanks, Hanno

            D Offline
            D Offline
            Dominik Reichl
            wrote on last edited by
            #5

            If you want a light-weight XML library (i.e. not MSXML), have a look at http://tinyxml.sourceforge.net/[^]. I used TinyXML in several projects, it works pretty well. Best regards Dominik


            _outp(0x64, 0xAD); and __asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;) (doesn't work on NT)

            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