Inserting XML into a XmlDocument object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a XmlDocument object that has data in it already and I want to add 1 or more sections into the XmlDocument. Are there any c# (vb.net will work) examples or ideas anyone willing to share? Thanks...sonny
 
sonny said:
I have a XmlDocument object that has data in it already and I want to
add 1 or more sections into the XmlDocument. Are there any c#
(vb.net will work) examples or ideas anyone willing to share?

XmlDocument follows W3's DOM API, which uses factory methods at the document
level to create new document contents instead of plain old constructors. To
get started, check out XmlDocument.CreateElement() on MSDN.

Cheers,
 
Back
Top