How to Insert Xml Node from One document to another XML Document in vb.net

If you want to insert xmlnode from one document to another, you have to import the xmlnode. 

dim xmlDoc01 as XMLDocument

dim xmlDoc02 as XMLDocument

private sub InsertNod()  ’insert xmlnode from xmlDoc01 to xmlDoc02

{

xmldoc01.AppendChild(xmlDoc01.ImportNode(xmlDoc01.ChildNodes(0), true))

}

, , ,

  1. No comments yet.
(will not be published)
Submit Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Subscribe to comments feed
  1. No trackbacks yet.

SetPageWidth