这面试题难了点吧,大家来看看啊xml的
<OTA_AirAvailRS 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 " EchoToken= "String " TimeStamp= "2007-03-01T00:18:25 " Target= "Production " Version= "2003A.TsabreXML1.3.1 " SequenceNmbr= "1 " PrimaryLangID= "en-us " AltLangID= "en-us ">
<Success />
<Warnings>
<Warning ShortText= "NO MORE SQ-1* FOR INTERLINE CONX " />
</Warnings>
<OriginDestinationOptions>
<OriginDestinationOption>
<TPA_Extensions>
<OriginCityTimeZoneCode Code= "Z8 " />
<DestinationCityTimeZoneCode Code= "PDT " />
<TimeZoneDifference Code= "-15 " />
<Text> NO MORE SQ-1* FOR INTERLINE CONX </Text>
<DayOfWeek> THU </DayOfWeek>
</TPA_Extensions>
<FlightSegment DepartureDateTime= "2007-03-22T16:00:00 " ArrivalDateTime= "2007-03-22T16:30:00 " StopQuantity= "0 " RPH= "1 " FlightNumber= "38 " SmokingAllowed= "false " Ticket= "E ">
<DepartureAirport LocationCode= "SIN " CodeContext= "IATA " />
<ArrivalAirport LocationCode= "LAX " CodeContext= "IATA " />
<OperatingAirline Code= "SQ " FlightNumber= "38 " />
<Equipment AirEquipType= "345 " />
<MarketingAirline Code= "SQ " />
<MarketingCabin>
<Meal MealCode= "M " />
</MarketingCabin>
<BookingClassAvail ResBookDesigCode= "Z " Availability= "2 " RPH= "1 " />
<BookingClassAvail ResBookDesigCode= "C " Availability= "0 " RPH= "2 " />
<BookingClassAvail ResBookDesigCode= "J " Availability= "0 " RPH= "3 " />
<BookingClassAvail ResBookDesigCode= "D " Availability= "0 " RPH= "4 " />