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. Appending of XML

Appending of XML

Scheduled Pinned Locked Moved C / C++ / MFC
xmltutorialquestion
2 Posts 2 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.
  • B Offline
    B Offline
    brucewayn
    wrote on last edited by
    #1

    How to merge two XML files in one XML file??? Thanks in Advance

    J 1 Reply Last reply
    0
    • B brucewayn

      How to merge two XML files in one XML file??? Thanks in Advance

      J Offline
      J Offline
      Jonathan Davies
      wrote on last edited by
      #2

      If by merge you mean append (as in your subject), with two files each will have a root, so you'd have to decide which root was going to be the root of your new file. Then you could copy all children of the root from the file to be discarded so they become children of the root in the new file. That is. of course, if the format of the files makes this a sensible thing to do.

      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