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. Adding two XmlDocument objects and making as one XmlDocument

Adding two XmlDocument objects and making as one XmlDocument

Scheduled Pinned Locked Moved XML / XSL
comxmlhelp
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.
  • I Offline
    I Offline
    indian143
    wrote on last edited by
    #1

    Hi All, I have two xml objects which are having the same nodes and elements, I want to add them and make them one xml objects before I save them into one xml file. Just I need to remove the declaration and root node but all the remaining nodes I need to add to the first XmlDocument object and save it on to the xml file. Can any body pls. help me in this regard. Any sort of help is very usefull. Thanks a Lot, Aleem Mohammad,

    S/W Engineer Akebono Soft Technologies aleem_abdul@akebonosoft.com.

    L 1 Reply Last reply
    0
    • I indian143

      Hi All, I have two xml objects which are having the same nodes and elements, I want to add them and make them one xml objects before I save them into one xml file. Just I need to remove the declaration and root node but all the remaining nodes I need to add to the first XmlDocument object and save it on to the xml file. Can any body pls. help me in this regard. Any sort of help is very usefull. Thanks a Lot, Aleem Mohammad,

      S/W Engineer Akebono Soft Technologies aleem_abdul@akebonosoft.com.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      You did not supply enough specific information. Do you know XML technology? If not you should study it, there are many resources on the Web like Top XML and www.w3schools.com Do you know that an XML document can only have one root element? Given this your post does not specify "how" you want to add the second document to the first, this means, what the resulting XML should be.

      led mike

      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