In XDocument how to remove the data in specific node

hi Team,

There is a XML in which i will be adding the data dynamically using Invoke code activity, for an instance if there is any error then i need to remove the data for that respective sequence from the node Fields rest all the data i want to leave it for further use of the same XDocument Variable.

This the XML Template that I am using

<Record>
  <Meta>
    <PRODUCT>APPLE</PRODUCT>
  </Meta>
  <Fields>
    <Harsha>21</Harsha>
  </Fields>
</Record>

Any suggestions will be helpfull.

Thanks in Advance.