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
Post a Comment