title: How to remove an element from XML file using Linq to XML and lambda expression
body: <p>I have an xml as below</p>
  
  <pre><code>&lt;Person&gt;
     &lt;Name&gt;xxx&lt;/Name&gt;
     &lt;Age&gt;xx&lt;/Age&gt;
     &lt;Data&gt;xxxx&lt;/Data&gt;
  &lt;/Person&gt;
  &lt;Person&gt;
     &lt;Name&gt;xxx&lt;/Name&gt;
     &lt;Age&gt;xx&lt;/Age&gt;
     &lt;Data&gt;xxxx&lt;/Data&gt;
  &lt;/Person&gt;
  &lt;Person&gt;
     &lt;Name&gt;xxx&lt;/Name&gt;
     &lt;Age&gt;xx&lt;/Age&gt;
     &lt;Data&gt;xxxx&lt;/Data&gt;
  &lt;/Person&gt;
  </code></pre>
  
  <p>How to remove <code>&lt;Data&gt;</code> element from the tree using Linq to XML, Lamda Expression in C#? where <code>&lt;Data&gt;</code> is a auto generated element and XML structure may vary.   </p>