Add a new XmlElement to XmlNode

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

Guest

For an xml file, I can use XmlDocument to load it and use
XmlDocument.CreateElement and XmlNode.AppendChild functions to create and add
a new XmlNode to it.
For an xml data type in sql database, I can load it from database and assign
it to an XmlNode, how do I create and add a new XmlElement to it? There is
not document associated with it in this case and hence there is no creation
context?
 
Back
Top