Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2004
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to append bunch of nodes to xml structure?

    Hello
    say i have this nodes(in string format,it is taken from different xml structure):
    <blah1></blah1>
    <blah2>
    <foo1>
    </foo1>
    </blah2>
    <blah3></blah3>
    <blah4></blah4>

    now i have the original xml say :
    <root>
    <foo1>
    </foo1>
    <foo2>
    </foo2>
    </root>

    now i like to copy the first piece of xml to the original xml under say <foo1>
    and then create from the combination new xml .
    from what i saw in the DOM reference i can use the "appendChild" method for one node
    but how can i use it for multiple nodes?

    tnx

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    LOL What on earth are you trying to do with all of this strange snippet shifting?
    *this message will self destruct in n-seconds*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •