title: C# Linq XML Query where multiple elements of same name already exists
body: <p>My xml is like this:</p>
  
  <pre><code>&lt;Destination&gt;
          &lt;CityCode&gt;GRAGMRNCHN&lt;/CityCode&gt;
          &lt;CityName&gt;Agia Marina&lt;/CityName&gt;
          &lt;ZoneCode&gt;CRTCHN&lt;/ZoneCode&gt;
          &lt;ZoneName&gt;Creta - Chania&lt;/ZoneName&gt;
          &lt;Departures&gt;
            &lt;Departure&gt;
              &lt;CountryCode&gt;RO&lt;/CountryCode&gt;
              &lt;CountryName&gt;Romania&lt;/CountryName&gt;
              &lt;CityCode&gt;ROBCH1&lt;/CityCode&gt;
              &lt;CityName&gt;Bucuresti&lt;/CityName&gt;
              &lt;GiataCodes&gt;
                &lt;GiataCode&gt;28029&lt;/GiataCode&gt;
                &lt;GiataCode&gt;759&lt;/GiataCode&gt;
                &lt;GiataCode&gt;28575&lt;/GiataCode&gt;
                &lt;GiataCode&gt;756&lt;/GiataCode&gt;
                &lt;GiataCode&gt;47839&lt;/GiataCode&gt;
              &lt;/GiataCodes&gt;
              &lt;Dates&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-06-22&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-06-29&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-07-06&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-07-13&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-07-20&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-07-27&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-08-03&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-08-10&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-08-17&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-08-24&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-08-31&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14,21"&gt;2016-09-07&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7,14"&gt;2016-09-14&lt;/Date&gt;
                &lt;Date TourOpCode="EU" Nights="7"&gt;2016-09-21&lt;/Date&gt;
              &lt;/Dates&gt;
            &lt;/Departure&gt;
  </code></pre>
  
  <p>Now i want to extract CityCode(destination), CityCode(departure), available date and their nights attributes. I'm stack at dates! Using Xdcument i get only first elements from date.</p>
  
  <p>Here is parsing code:</p>
  
  <pre><code> packageList = (from destination in xDoc.Descendants(nonamespace + "Destination")
                  select new PackageInformation
                  {
                      DestinationCityCode = destination.Element("CityCode").Value,
                      DepartureCityCode = destination.Descendants("Departure")
                          .Select( c =&gt; new DepartureCityClass()
                          {
                              DepartureCityCode = c.Element("CityCode").Value
                          }).ToList(),
                      Dates = destination.Descendants("Departures").Descendants("Departure").Descendants("Dates")
                          .Select(d =&gt; new DatesClass()
                          {
                              Date = d.Element("Date").Value,
                              Nights = d.Element("Date").Attributes("Nights").First().Value
  
  
                          }).ToList()
                  }).ToList();
  </code></pre>
  
  <p>Any help!
  Thanks.</p>