title: XML parsing using LINQ to XML: Multiple descendants with same name
body: <p>I am new to XML parsing using LINQ. I have the below XML:</p>
  
  <pre><code>&lt;TEAM Action="abcd" TeamID="1234"&gt;
      &lt;INST InstID="10001" /&gt;
      &lt;TERM Label="abc" Desc="" Default="" Type="string"&gt;Non&lt;/TERM&gt;
      &lt;A&gt;
        &lt;NOTE Label="a"&gt;U&lt;/NOTE&gt;
        &lt;NOTE Label="b"&gt;69537f&lt;/NOTE&gt;
        &lt;NOTE Label="c"&gt;Po&lt;/NOTE&gt;
        &lt;NOTE Label="d"&gt;f59/NOTE&gt;
        &lt;NOTE Label="e"&gt;2014&lt;/NOTE&gt;
        &lt;NOTE Label="f"&gt;Non&lt;/NOTE&gt;
        &lt;NOTE Label="g"&gt;Bilateral&lt;/NOTE&gt;
        &lt;NOTE Label="h"&gt;Jo&lt;/NOTE&gt;
        &lt;NOTE Label="i"&gt;602&lt;/NOTE&gt;
     &lt;/A&gt;
    &lt;/TEAM&gt;
  
    &lt;TEAM Action="abcdefg" TeamID="2345"&gt;
      &lt;INST InstID="10003" /&gt;
      &lt;TERM Label="abc" Desc="" Default="" Type="string"&gt;Non&lt;/TERM&gt;
      &lt;A&gt;
        &lt;NOTE Label="a"&gt;U&lt;/NOTE&gt;
        &lt;NOTE Label="b"&gt;69537f&lt;/NOTE&gt;
        &lt;NOTE Label="c"&gt;Po&lt;/NOTE&gt;
        &lt;NOTE Label="d"&gt;f59/NOTE&gt;
        &lt;NOTE Label="e"&gt;2014&lt;/NOTE&gt;
        &lt;NOTE Label="f"&gt;Non&lt;/NOTE&gt;
        &lt;NOTE Label="g"&gt;Simple&lt;/NOTE&gt;
        &lt;NOTE Label="h"&gt;Jo&lt;/NOTE&gt;
        &lt;NOTE Label="i"&gt;602&lt;/NOTE&gt;
     &lt;/A&gt;
    &lt;/TEAM&gt;
  </code></pre>
  
  <p>I am trying to write a query which returns all the teams where the value of NOTE element having label=g is Bilateral.
  Any help is much appriciated.</p>
  
  <p>Thanks is advance.</p>