XmlDocument and cloneNode

Discussion in 'ASP .Net Building Controls' started by itsme, Oct 14, 2003.

  1. itsme

    itsme Guest

    Hello,

    How can one copy an XmlDocument "A" into another
    XmlDocument "B"

    When I say "copy", I mean to replace the XmlDocument "A"
    completely by the XmlDocument "B". I am trying to use
    cloneNode method of the XmlDocument but somehow I am
    getting multiple copies of the same node.

    Does the cloneNode replaces the XmlDocument completely or
    it adds nodes to the existing XmlDocument?

    Can anyone please help me out?

    Thanks in advance.
     
    itsme, Oct 14, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shoval Tomer
    Replies:
    0
    Views:
    456
    Shoval Tomer
    Jul 9, 2003
  2. Bob
    Replies:
    0
    Views:
    420
  3. Csaba  Gabor

    cloneNode and iterating event listeners

    Csaba Gabor, Apr 24, 2006, in forum: Javascript
    Replies:
    2
    Views:
    195
    Csaba Gabor
    Apr 25, 2006
  4. Janis Papanagnou
    Replies:
    1
    Views:
    125
  5. Olorin

    cloneNode/appendChild and children

    Olorin, Apr 30, 2007, in forum: Javascript
    Replies:
    4
    Views:
    191
    Olorin
    May 3, 2007
Loading...

Share This Page