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. Merging DOMs

Merging DOMs

Scheduled Pinned Locked Moved XML / XSL
xmlquestion
3 Posts 2 Posters 3 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.
  • J Offline
    J Offline
    Jamie Hale
    wrote on last edited by
    #1

    Is there a nice way to do this? For instance, if I have the following two DOMS: First Second and Third Fourth I would like to end up with the following: First Second Third Fourth I know I can do it programmatically, but I'd love to find a way to merge it for free. :) I haven't found a method to do it... Will I have to use XSL? J

    May the bear never have cause to eat you.

    C 1 Reply Last reply
    0
    • J Jamie Hale

      Is there a nice way to do this? For instance, if I have the following two DOMS: First Second and Third Fourth I would like to end up with the following: First Second Third Fourth I know I can do it programmatically, but I'd love to find a way to merge it for free. :) I haven't found a method to do it... Will I have to use XSL? J

      May the bear never have cause to eat you.

      C Offline
      C Offline
      Chris Richardson
      wrote on last edited by
      #2

      At the KB article below, some VB is shown that can merge two XML documents. You could modify it so it would run in a .vbs file (instead of a VB project I think?), but that would take all of two minutes. http://support.microsoft.com/default.aspx?scid=kb;EN-US;q286817[^] Chris Richardson Programmers find all sorts of ingenious ways to screw ourselves over. - Tim Smith

      J 1 Reply Last reply
      0
      • C Chris Richardson

        At the KB article below, some VB is shown that can merge two XML documents. You could modify it so it would run in a .vbs file (instead of a VB project I think?), but that would take all of two minutes. http://support.microsoft.com/default.aspx?scid=kb;EN-US;q286817[^] Chris Richardson Programmers find all sorts of ingenious ways to screw ourselves over. - Tim Smith

        J Offline
        J Offline
        Jamie Hale
        wrote on last edited by
        #3

        Right. I had found that one. I was hoping somebody would point out the magical-yet-hidden "merge" method on the IXMLDOMNode interface. :) I guess I'm going to have to do it by hand. J

        May the bear never have cause to eat you.

        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