Hi, i have a xml with this format:
<a:label>
<b:title>
<b:detail>
<b:names>
<b:name>the name
<b:colour>blue
<b:attib>
<b:size>A4
I want to remove the label and title, but preserving the remaining part.
How can i do it?
What I have tried:
I tried:
XDocument input = XDocument.Parse(theRow["xml"].ToString());
XElement output = input.Root.Elements().First();
XmlNode eliminoxml2 = cfexml.SelectSingleNode("//b:title", spacemanager);
eliminoxml2.RemoveChild(eliminoxml2);