Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Linq to XML

$
0
0

Could any one help me to find the below heighted in bold, italic and underline key from below XML? As I am new to Linq to XML.

It will be good if any one can provide me any hit so that I can work in that directions.

Thanks in Advance.

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.test/envelope/">
  <soapenv:Header xmlns:kd4="</soapenv:Header">http://www.test.com/"></soapenv:Header>
  <soapenv:Body>
    <shop:SearchRsp TraceId="SP1PAS635327267325794452" xmlns:shar="http://www.test.com"  xmlns:air="http://www.test1.com" xmlns:shop="http://www.test2.com">
      <shar:ResponseMessage Code="701832" Type="Warning">TEST Message</shar:ResponseMessage>
      <shop:AirSegmentList>
        <air:AirSegment Key="400001T" Group="0" Carrier="F9"FlightNumber="427" Origin="ATL" Destination="DEN" DepartureTime="2014-05-15T19:08:00.000-04:00" ArrivalTime="2014-05-15T20:25:00.000-06:00">
          <air:Equipment Code="319" ChangeOfPlane="false"/>
          <air:AirAvailInfo >
            <air:BookingCodeInfoBookingCounts="W7"/>
          </air:AirAvailInfo>
          <air:FlightDetailsRef Key="400000T"/>
        </air:AirSegment>
        <air:AirSegment Key="400006T" Group="0" Carrier="F9" FlightNumber="429" Origin="ATL" Destination="DEN" DepartureTime="2014-05-15T09:54:00.000-04:00" ArrivalTime="2014-05-15T11:10:00.000-06:00" >
          <air:Equipment Code="319" ChangeOfPlane="false"/>
          <air:AirAvailInfo>
            <air:BookingCodeInfo BookingCounts="W7"/>
          </air:AirAvailInfo>
          <air:FlightDetailsRef Key="400005T"/>
        </air:AirSegment>
      </shop:AirSegmentList>
    </shop:SearchRsp>
  </soapenv:Body>
</soapenv:Envelope>


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>