I\'m new to XML & C#. I want to remove root element without deleting child element. XML file is strudctured as below.
if you need to do in c# coding means
Solution
foreach (XElement item in Element.Descendants("dataroot").ToList()) { item.ReplaceWith(item.Nodes()); }