title: Linq to XML query not selecting the node
body: <p>I have following xml and I am trying to find out AddreeLine from that -  </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;&lt;TravelItineraryReadRS xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" TimeStamp="2013-05-09T17:55:46" Version="1.1.1"&gt;&lt;Success/&gt;&lt;TravelItinerary&gt;&lt;ItineraryRef AirExtras="N" InhibitCode="U" PartitionID="AA" PrimeHostID="1S"&gt;&lt;Source PseudoCityCode="TEST" ReceivedFrom="Test Tester"/&gt;&lt;/ItineraryRef&gt;&lt;CustomerInfo&gt;&lt;PaymentInfo&gt;&lt;Payment RPH="001"&gt;&lt;Form&gt;ddd343&lt;/Form&gt;&lt;Form&gt;34rerere&lt;/Form&gt;&lt;/Payment&gt;&lt;/PaymentInfo&gt;&lt;PersonName NameNumber="01.01" NameReference="SCM0978-NA021215" RPH="1"&gt;&lt;GivenName&gt;RESERVATION&lt;/GivenName&gt;&lt;Surname&gt;TEST&lt;/Surname&gt;&lt;Email&gt;test@test.COM&lt;/Email&gt;&lt;/PersonName&gt;&lt;Telephone AreaCityCode="BDL" PhoneNumber="7/732-555-0400" RPH="001"/&gt;&lt;Telephone AreaCityCode="BDL" PhoneNumber="201-555-1350-B" RPH="002"/&gt;&lt;Telephone AreaCityCode="BDL" PhoneNumber="201-555-9999-F" RPH="003"/&gt;&lt;Telephone AreaCityCode="BDL" PhoneNumber="908-555-6400-C" RPH="004"/&gt;&lt;Telephone AreaCityCode="BDL" PhoneNumber="732-555-0872-H" RPH="005"/&gt;&lt;/CustomerInfo&gt;&lt;ItineraryInfo&gt;&lt;ReservationItems&gt;&lt;Item RPH="1"&gt;&lt;FlightSegment ArrivalDateTime="07-28T11:00:00" DepartureDateTime="2013-07-28T09:00:00" FlightNumber="0491" NumberInParty="01" ResBookDesigCode="Q" SegmentNumber="0001" Status="YK"&gt;&lt;OriginLocation LocationCode="EWR"/&gt;&lt;DestinationLocation LocationCode="DTW"/&gt;&lt;MarketingAirline Code="CO" FlightNumber="0491"/&gt;&lt;UpdatedDepartureTime&gt;07-28T09:00:00&lt;/UpdatedDepartureTime&gt;&lt;UpdatedArrivalTime&gt;07-28T11:00:00&lt;/UpdatedArrivalTime&gt;&lt;/FlightSegment&gt;&lt;/Item&gt;&lt;Item RPH="2"&gt;&lt;FlightSegment ArrivalDateTime="08-05T20:49:00" DepartureDateTime="2013-08-05T18:55:00" FlightNumber="0482" NumberInParty="01" ResBookDesigCode="Q" SegmentNumber="0003" Status="YK"&gt;&lt;OriginLocation LocationCode="DTW"/&gt;&lt;DestinationLocation LocationCode="EWR"/&gt;&lt;MarketingAirline Code="CO" FlightNumber="0482"/&gt;&lt;UpdatedDepartureTime&gt;08-05T18:55:00&lt;/UpdatedDepartureTime&gt;&lt;UpdatedArrivalTime&gt;08-05T20:49:00&lt;/UpdatedArrivalTime&gt;&lt;/FlightSegment&gt;&lt;/Item&gt;&lt;Item RPH="3"&gt;&lt;Hotel SegmentNumber="0002" Status="GK" Type="HHT"&gt;&lt;SpecialPrefs&gt;&lt;Text&gt;CF&lt;/Text&gt;&lt;/SpecialPrefs&gt;&lt;RoomType RoomTypeCode="C2Q"/&gt;&lt;RoomRate&gt;&lt;Base Amount="69.00"/&gt;&lt;/RoomRate&gt;&lt;GuestCounts&gt;&lt;GuestCount Count="01"/&gt;&lt;/GuestCounts&gt;&lt;TimeSpan End="08-05" Start="07-28"/&gt;&lt;BasicPropertyInfo ChainCode="AA" HotelCityCode="DTW" HotelName="MARIOTT"/&gt;&lt;Address&gt;&lt;AddressLine&gt;201 WESTFIELD&lt;/AddressLine&gt;&lt;AddressLine&gt;DETROIT MI 30293&lt;/AddressLine&gt;&lt;/Address&gt;&lt;ContactNumbers&gt;&lt;ContactNumber PhoneNumber="717-235-3333"/&gt;&lt;/ContactNumbers&gt;&lt;/Hotel&gt;&lt;/Item&gt;&lt;/ReservationItems&gt;&lt;Ticketing RPH="01" TicketTimeLimit="T-"/&gt;&lt;/ItineraryInfo&gt;&lt;SpecialServiceInfo ItemRPH="001" Type="GFX"&gt;&lt;Service SSR_Code="OSI"&gt;&lt;Airline Code="YY"/&gt;&lt;Text&gt;CTCH 732 555 1212&lt;/Text&gt;&lt;/Service&gt;&lt;/SpecialServiceInfo&gt;&lt;RemarkInfo&gt;&lt;Remark Code="L" Number="002" Type="Alpha-Coded"&gt;&lt;Text&gt;HOME-25 GATEHOUSE LANE&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="002" Type="General"&gt;&lt;Text&gt;LHOME-25 GATEHOUSE LANE&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Code="L" Number="003" Type="Alpha-Coded"&gt;&lt;Text&gt;HOME-HACKENSACK, NJ US 07601&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="003" Type="General"&gt;&lt;Text&gt;LHOME-HACKENSACK, NJ US 07601&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Code="P" Number="004" Type="Alpha-Coded"&gt;&lt;Text&gt;TP-HM-120 MAIN ST&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="004" Type="General"&gt;&lt;Text&gt;PTP-HM-120 MAIN ST&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Code="P" Number="005" Type="Alpha-Coded"&gt;&lt;Text&gt;TP-HM-BELLE MEAD NJ¤08732&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="005" Type="General"&gt;&lt;Text&gt;PTP-HM-BELLE MEAD NJ¤08732&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="006" Type="Client Address"&gt;&lt;Text&gt;SATURN RESERVATIONS&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="007" Type="Client Address"&gt;&lt;Text&gt;401 HACKENSACK AVE&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="008" Type="Client Address"&gt;&lt;Text&gt;HACKENSACK NJ US 07065&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="009" Type="Client Address"&gt;&lt;Text&gt;MAILSTOP 5932&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="010" Type="Client Address"&gt;&lt;Text&gt;MORE EXTRANEOUS GARBAGE&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Code="H" Number="011" Type="Alpha-Coded"&gt;&lt;Text&gt;/GAX4378200000000000EXP 11 16&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="011" Type="General"&gt;&lt;Text&gt;H/GAX4378200000000000EXP 11 16&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Code="B" Number="012" Type="Alpha-Coded"&gt;&lt;Text&gt;SNAP-TYR01&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="012" Type="General"&gt;&lt;Text&gt;B SNAP-TYR01&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="013" Type="General"&gt;&lt;Text&gt;X/-BB/U10406&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="014" Type="General"&gt;&lt;Text&gt;X/-DP/A244&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="015" Type="General"&gt;&lt;Text&gt;X/-CWT-LEVEL-GOLD-Y-E-I&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="016" Type="General"&gt;&lt;Text&gt;X/-CN/JNB&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="017" Type="General"&gt;&lt;Text&gt;X/-CF/JQF0000000&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="018" Type="General"&gt;&lt;Text&gt;X/-FS/L&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="019" Type="General"&gt;&lt;Text&gt;X/-HS/08APR/SN-O&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="020" Type="Invoice"&gt;&lt;Text&gt;U3-MORTGAGE INSURANCE&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="021" Type="Invoice"&gt;&lt;Text&gt;U8-CARD 123456&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="022" Type="Invoice"&gt;&lt;Text&gt;U4-MI CANADA&lt;/Text&gt;&lt;/Remark&gt;&lt;Remark Number="023" Type="Invoice"&gt;&lt;Text&gt;U9-SA8010&lt;/Text&gt;&lt;/Remark&gt;&lt;/RemarkInfo&gt;&lt;/TravelItinerary&gt;&lt;TPA_Extensions&gt;&lt;HostCommand&gt;ARS01S093^PN49JX PNR&lt;/HostCommand&gt;&lt;/TPA_Extensions&gt;&lt;/TravelItineraryReadRS&gt;
  </code></pre>
  
  <p>I am trying to find out both the AddressLine from this.
  I did the following and it is not working -</p>
  
  <pre><code> var bt = (from Main in xmlDoc.Descendants("TravelItineraryReadRS")
  
                    select new
                    {
                        AddressLine = string.Join(",", (from item in Main.Descendants("Hotel").Descendants("Address")
                                                        select item.Element("AddressLine").Value).ToArray()),
                    }
                 ).ToList();
  </code></pre>