I am reading a XML file line by line as
string. Now I wanted to manipulate the XML Data such that I can to pull up some data from the child Node and append into the parent Node and erase the child node which data I have appended. I can successfully write the whole Xml file. But I am not really sure how to append the the child data inside the parent Node. I would appreciate if someone can help me out.
For Example:
XML Data:
My Intension:
Here is my code where I am reading the XML Data line by line as a string.