title: Finding element in XDocument?
body: <p>I have a simple XML</p>
  
  <pre><code>&lt;AllBands&gt;
    &lt;Band&gt;
      &lt;Beatles ID="1234" started="1962"&gt;greatest Band&lt;![CDATA[lalala]]&gt;&lt;/Beatles&gt;
      &lt;Last&gt;1&lt;/Last&gt;
      &lt;Salary&gt;2&lt;/Salary&gt;
    &lt;/Band&gt;
    &lt;Band&gt;
      &lt;Doors ID="222" started="1968"&gt;regular Band&lt;![CDATA[lalala]]&gt;&lt;/Doors&gt;
      &lt;Last&gt;1&lt;/Last&gt;
      &lt;Salary&gt;2&lt;/Salary&gt;
    &lt;/Band&gt;
  &lt;/AllBands&gt;
  </code></pre>
  
  <p>However , </p>
  
  <p>when I want to reach the "Doors band" and to change its ID : </p>
  
  <pre><code>  using (var stream = new StringReader(result))
              {
                  XDocument xmlFile = XDocument.Load(stream);
  
                  var query = from c in xmlFile.Elements("Band")
  
                              select c;
                               ...
  </code></pre>
  
  <p><code>query</code> <strong>has no results</strong></p>
  
  <p>But</p>
  
  <p>If I write  <code>xmlFile.Elements().Elements("Band")</code> so it Does find it.</p>
  
  <p>What is the problem ?</p>
  
  <p>Is the full path from the Root needed ?</p>
  
  <p>And if so , Why did it work without specify <code>AllBands</code> ?</p>
  
  <p>Does the <code>XDocument</code> Navigation require me to know the full level structure down to the required element ?</p>