how to merge xml string to main xml document object
- by CliffC
how can i merge the following xml string
<employee>
<name>cliff</name>
</employee>
to my existing xml document object
XmlDocument xmlDoc = new XmlDocument();
XmlElement xmlCompany = xmlDoc.CreateElement("Company");
the final output should look like
<Company>
<employee>
<name>cliff</name>
</employee>
</Company>
thanks