Subject: [xsl] Problem with iterating through 1 to many FlightSegment nodes From: "Mac Rost" <mrost@xxxxxxxxxxxxx> Date: Fri, 13 Sep 2002 08:46:46 -0500 |
To All: I am having a problem with the following XML Doc. ====================== - <AirAvailabilityResults size="9"> - <AirAvailabilityReply> <supplierType>S</supplierType> <baseFare>360.0</baseFare> <price>407.00</price> <currency>USD</currency> - <FlightSegment> <segmentOutgoing>true</segmentOutgoing> <chainCode>UA</chainCode> <flightNumber>5588</flightNumber> <departureCityCode>DEN</departureCityCode> <arrivalCityCode>SGF</arrivalCityCode> <departureDate>10/04/2002 10:15 AM</departureDate> <arrivalDate>10/04/2002 1:05 PM</arrivalDate> <classOfServiceCode>Q</classOfServiceCode> <equipmentCode>CRJ</equipmentCode> <numberOfStops>0</numberOfStops> <departureCity>Denver</departureCity> <departureStateProvince>CO</departureStateProvince> <departureCountry>US</departureCountry> <arrivalCity>Springfield</arrivalCity> <arrivalStateProvince>MO</arrivalStateProvince> <arrivalCountry>US</arrivalCountry> <company>UNITED AIRLINES</company> <fareBasis>QHE14NR</fareBasis> </FlightSegment> - <FlightSegment> <segmentOutgoing>false</segmentOutgoing> <chainCode>UA</chainCode> <flightNumber>5589</flightNumber> <departureCityCode>SGF</departureCityCode> <arrivalCityCode>DEN</arrivalCityCode> <departureDate>10/25/2002 1:40 PM</departureDate> <arrivalDate>10/25/2002 2:45 PM</arrivalDate> <classOfServiceCode>Q</classOfServiceCode> <equipmentCode>CRJ</equipmentCode> <numberOfStops>0</numberOfStops> <departureCity>Springfield</departureCity> <departureStateProvince>MO</departureStateProvince> <departureCountry>US</departureCountry> <arrivalCity>Denver</arrivalCity> <arrivalStateProvince>CO</arrivalStateProvince> <arrivalCountry>US</arrivalCountry> <company>UNITED AIRLINES</company> <fareBasis>QHE14NR</fareBasis> </FlightSegment> <ticketType>E</ticketType> <tripType>R</tripType> </AirAvailabilityReply> ============================= Now there can be one to many FlightSegments, and I just need to pull the dates and times out of each one to display each leg of the flight. Any ideas? Mac Rost Affiliate Relations/XML Developer TravelNow.com a wholly owned subsidiary of Hotel Reservations Network mailto:xml@xxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] fx2sx (postprocessing the out, Friedhelm Düsterhöft | Thread | RE: [xsl] Problem with iterating th, Michael Kay |
Re: [xsl] document() loops, Peter Davis | Date | Re: [xsl] document() loops, Laura Jenkins |
Month |