title: Using Linq and XDocument, can I get all the child elements under parent tag?
body: <p>I have an XML</p>
  
  <pre><code>&lt;data&gt;
    &lt;summary&gt;
      &lt;account curr_desc='USD' acct_nbr='123' net='1000.00' /&gt;
      &lt;account curr_desc='USD' acct_nbr='456' net='2000.00' /&gt;
    &lt;/summary&gt;
    &lt;details&gt;
      &lt;accounts&gt;
        &lt;account acct_nbr="123" curr="USD"&gt;
          &lt;activity color='False' settle_date='02 Jul 2010' amt='580.00' /&gt;
          &lt;activity color='True' settle_date='09 Jul 2010' amt='420.00' /&gt;
        &lt;/account&gt;
        &lt;account acct_nbr="456" curr="USD"&gt;
          &lt;activity color='True' settle_date='12 Dec 2010' amt='1500.00' /&gt;
          &lt;activity color='True' settle_date='19 Dec 2010' amt='500.00' /&gt;
        &lt;/account&gt;
      &lt;/accounts&gt;
    &lt;/details&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>Using Linq and XDocument, I can extract "summary" information but how can I extract "account" information under "summary" tag?</p>
  
  <pre><code>XDocument XMLDoc = XDocument.Load("testdata.xml");
  XElement accounts = (from xml2 in XMLDoc.Descendants("summary")
                      select xml2).FirstOrDefault();
  </code></pre>
  
  <p>How can I specify something like "<code>summary/account</code>" so that it returns me all the elements under <code>&lt;summary&gt;</code>? Note, that I have <code>&lt;account&gt;</code> under <code>&lt;detail&gt;&lt;accounts&gt;</code>, I only want the elements under summary tag.</p>