...

View Full Version : how to append bunch of nodes to xml structure?



umen1
10-05-2004, 05:10 PM
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

codegoboom
10-06-2004, 11:05 PM
LOL :D What on earth are you trying to do with all of this strange snippet shifting?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum