Adding two XmlDocument objects and making as one XmlDocument
-
Hi All, I have two xml objects which are having the same nodes and elements, I want to add them and make them one xml objects before I save them into one xml file. Just I need to remove the declaration and root node but all the remaining nodes I need to add to the first XmlDocument object and save it on to the xml file. Can any body pls. help me in this regard. Any sort of help is very usefull. Thanks a Lot, Aleem Mohammad,
S/W Engineer Akebono Soft Technologies aleem_abdul@akebonosoft.com.
-
Hi All, I have two xml objects which are having the same nodes and elements, I want to add them and make them one xml objects before I save them into one xml file. Just I need to remove the declaration and root node but all the remaining nodes I need to add to the first XmlDocument object and save it on to the xml file. Can any body pls. help me in this regard. Any sort of help is very usefull. Thanks a Lot, Aleem Mohammad,
S/W Engineer Akebono Soft Technologies aleem_abdul@akebonosoft.com.
You did not supply enough specific information. Do you know XML technology? If not you should study it, there are many resources on the Web like Top XML and www.w3schools.com Do you know that an XML document can only have one root element? Given this your post does not specify "how" you want to add the second document to the first, this means, what the resulting XML should be.
led mike