Add a new XmlElement to XmlNode

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top