title: XDocument.Descendants() not returning any elements
body: <p>I'm trying to bind a Silverlight DataGrid to the results of a WCF service call. I was not seeing the data displayed in the grid, so when I ran through the debugger, I notice that XDocument.Descendants() was not returning any elements even when I was passing in a valid element name. Here is the XML that is passed back from the service:</p>
  
  <pre><code>&lt;ArrayOfEmployee xmlns="http://schemas.datacontract.org/2004/07/Employees.Entities" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"&gt;
    &lt;Employee&gt;
      &lt;BirthDate&gt;1953-09-02T00:00:00&lt;/BirthDate&gt;
      &lt;EmployeeNumber&gt;10001&lt;/EmployeeNumber&gt;
      &lt;FirstName&gt;Georgi&lt;/FirstName&gt;
      &lt;Gender&gt;M&lt;/Gender&gt;
      &lt;HireDate&gt;1986-06-26T00:00:00&lt;/HireDate&gt;
      &lt;LastName&gt;Facello&lt;/LastName&gt;
    &lt;/Employee&gt;
    &lt;Employee&gt;
      &lt;BirthDate&gt;1964-06-02T00:00:00&lt;/BirthDate&gt;
      &lt;EmployeeNumber&gt;10002&lt;/EmployeeNumber&gt;
      &lt;FirstName&gt;Bezalel&lt;/FirstName&gt;
      &lt;Gender&gt;F&lt;/Gender&gt;
      &lt;HireDate&gt;1985-11-21T00:00:00&lt;/HireDate&gt;
      &lt;LastName&gt;Simmel&lt;/LastName&gt;
    &lt;/Employee&gt;
  &lt;/ArrayOfEmployee&gt;
  </code></pre>
  
  <p>And here is the method I use to load the results into a collection of anonymous objects, using Linq to XMl, and then bind the collection to the grid.</p>
  
  <pre><code>void client_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs args)
  {
      if (args.Error != null) return;
      var xml = XDocument.Parse(args.Result);
      var employees = from e in xml.Descendants("Employee")
                      select new
                      {
                          EmployeeNumber = e.Element("EmployeeNumber").Value,
                          FirstName = e.Element("FirstName").Value,
                          LastName = e.Element("LastName").Value,
                          Birthday = e.Element("BirthDate").Value
                      };
      DataGrid.SelectedIndex = -1;
      DataGrid.ItemsSource = employees;
  }
  </code></pre>
  
  <p>Any idea why <code>xml.Descendants("Employee")</code> doesn't return anything?</p>
  
  <p>Thanks!</p>