I am having on xml from which i have to remove the one book detail
<Books>
<bookdetail>
<bookname>ThreeIdiot</bookname>
<bookauthor>chetan bhagat</bookauthor>
<bookid>idi001</bookid>
<isavailable>true</isavailable>
<subscribername>NA</subscribername>
</bookdetail>
<bookdetail>
<bookname>Csharp</bookname>
<bookauthor>Kanitker</bookauthor>
<bookid>Cshar001</bookid>
<isavailable>true</isavailable>
<subscribername>NA</subscribername>
</bookdetail>
<bookdetail>
<bookname>VBbasic</bookname>
<bookauthor>Andrew Parker</bookauthor>
<bookid>idi001</bookid>
<isavailable>true</isavailable>
<subscribername>NA</subscribername>
</bookdetail>
</Books>
Now I have to remove the book detail with bookid == Cshar001
,
Please let me know any Linq command using will search and remove only that tag from the XML.