Hi can someone help me with appending data to an XML file.

I want to save some data to a XML file which is done by the following code.

VB Code:
  1. Private Sub Command47_Click()
  2. CommonDialog1.ShowSave
  3. NewFileSave = CommonDialog1.FileName
  4. MsgBox NewFileSave
  5. xml.SaveXml NewFileSave
  6. MsgBox "Saved"
  7. CancelButton:
  8. Exit Sub
  9. End Sub

Now if i open an existing file and save my data in that file the original data is lost.

How to append the data to the existing XML file ???

Amit