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