title: Taking from XML whole node with LINQ c#
body: <p>hi this is my xml i want to get only those menuitems which has type = "0". please help. AS you see there is menuitem in menuitem and in menuitem . i want to check all of them and if type is 0 i want to get that .</p>
  
  <p>i want C# code </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;Menu&gt;
    &lt;menuitem alias="CB6CF9A26E92FB60487B538C57FDD0E9" slot="0" type="1" name="თანხის შეტანა"&gt;
      &lt;menuitem alias="5A8B27411D011CBE2EAB916A9E6E7B4C" slot="0" type="1" name="ბარათი"&gt;
        &lt;menuitem alias="B82505AC178863EFF64260EC52E410BE" slot="0" type="0" name="მარჯანიშვილის ფილიალი|VISA CLASSIC|GE****************0082|GEL" /&gt;
        &lt;menuitem alias="F0CF0D9A4D732C2026948FC34DFAC29F" slot="1" type="0" name="მარჯანიშვილის ფილიალი|VISA CLASSIC|GE****************0082|USD|კურსი - 2.49" /&gt;
        &lt;menuitem alias="6F6CA87FBACC28E8E5D09E29577B8E2A" slot="2" type="0" name="ცენტრალური ფილიალი|MC STANDARD|GE****************0006|GEL" /&gt;
        &lt;menuitem alias="329078EA8197E4F153B1B562EA07CD20" slot="3" type="0" name="ცენტრალური ფილიალი|MC STANDARD|GE****************0006|USD|კურსი - 2.49" /&gt;
      &lt;/menuitem&gt;
      &lt;menuitem alias="2BC77B16A194A82BF55AC48966CE6141" slot="1" type="1" name="შემნახველი"&gt;
        &lt;menuitem alias="7B0B015673196CC9FFB4D685B6448410" slot="0" type="0" name="მარჯანიშვილის ფილიალი|ჩემი სეიფი|GE****************0018|GEL" /&gt;
      &lt;/menuitem&gt;
      &lt;menuitem alias="1FC50E2144F4DF526D9ABCB45A078547" slot="2" type="1" name="ჩემი სეიფი - IBS(კოდი 3331)" /&gt;
    &lt;/menuitem&gt;
  &lt;/Menu&gt;</code></pre>
  </div>
  </div>
  </p>