c# 4.0 - Linq to select nodes into xml which have node values in list -


i have following xml.

<?xml version="1.0"?> <instrumentserverdata>  <node>    <name>**test**</name>    <comments/>    <dob/>    <location/>    <configs/>  </node>  <node>    <name>**example**</name>    <comments/>    <dob/>    <location/>    <configs/>  </node>  <node>     <name>**check**</name>     <comments/>     <dob/>     <location/>     <configs/>  </node> 

have list 'testlist' contains 'test' , 'check'. want select entire nodes have name value in list 'testlist'(i,e filter/delete xml nodes don't have name value in list)


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -