xml file

how do you append to a xml file so you will not overwrite what is all ready there

Answer this question

xml file

  • khubaib

    hi,

    you can use XmlDocument to load the file in computer memory mydoc.Load("path.xml") , then you select the rootnode XmlNode root = mydoc.SelectSingleNode("root"); you can append child to this node

    root.AppendChild(MyNode);

    hope this helps



  • xml file