This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with iterating through 1 to many FlightSegment nodes


Mac,

I have loads of ideas about this. Most of them centre around the
following key concept: Get a book or find a web-based tutorial,
and learn about XSLT.

Hope that helps,

Dan.

-- 
Danny Yates
Technical Architect
Abbey National Treasury Services
E-mail: Danny.Yates@ants.co.uk
Phone: +44 20 7612 4017
Fax: +44 20 7612 4342


-----Original Message-----
From: Mac Rost [mailto:mrost@travelnow.com]
Sent: 13 September 2002 14:47
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] Problem with iterating through 1 to many FlightSegment
nodes


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@travelnow.com



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


***************************************************************************
This communication (including any attachments) contains confidential information.  If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents.  Please notify the sender immediately of the error.

Internet communications are not necessarily secure and may be intercepted or changed after they are sent.  Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes.  If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication.

This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding.

Abbey National Treasury Services plc. Registered Office:  Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN.  Registered in England under Company Registration Number: 2338548.  Regulated by the Financial Services Authority (FSA).
***************************************************************************


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]