<?xml version="1.0" encoding="GB2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:variable name="ItinTitle"/>
	<xsl:template match="/">
<html>
			<head>
				<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
			</head>
			<body>
				<TABLE cellSpacing="0" style="width:210mm" border="0">
					<TBODY>
						<tr>
							<td width="15">　</td>
							<td>
								<table width="100%" cellspacing="1">
									<tr>
										<td width="57%" height="70">
											<xsl:choose>
												<xsl:when test="normalize-space(/Response/ITINERARY/PICPATH)=''">
													<img border="0" height="50" src="MF/LOGO_MF.png"/>
												</xsl:when>
												<xsl:otherwise>
													<xsl:element name="IMG">
														<xsl:attribute name="src"><xsl:value-of select="/Response/ITINERARY/PICPATH"/></xsl:attribute>
													</xsl:element>
												</xsl:otherwise>
											</xsl:choose>
										</td>
										<td width="43%">
											<xsl:if test="Response/ITINERARY/HotelResponse/DayWeather != ''">
												<table border="0" cellspacing="1" width="100%" align="right">
													<tr>
														<td width="10%" style="font-size: 12px; color:#666; FONT-FAMILY:微软雅黑,sans-serif;">
															<xsl:value-of select="Response/ITINERARY/HotelResponse/DayWeather/City"/>
														</td>
														<td rowspan="2" width="65%">
															<xsl:for-each select="Response/ITINERARY/HotelResponse/DayWeather/description/Weather">
																<xsl:if test="position() != 1">to</xsl:if>
																<xsl:element name="IMG">
																	<xsl:attribute name="src">Weather\<xsl:value-of select="."/>.gif</xsl:attribute>
																</xsl:element>
															</xsl:for-each>
														</td>
														<td width="25%" style="font-size:12px;color:#666; FONT-FAMILY:微软雅黑,sans-serif;">
															<xsl:value-of select="Response/ITINERARY/HotelResponse/DayWeather/tempLow"/>
															-
														<xsl:value-of select="Response/ITINERARY/HotelResponse/DayWeather/tempHigh"/>
															℃
													</td>
													</tr>
													<tr>
														<td style="font-size: 12px;color:#666; FONT-FAMILY:微软雅黑,sans-serif;;">
															<xsl:value-of select="Response/ITINERARY/HotelResponse/DayWeather/Date"/>
														</td>
														<td style="font-size:12px; color:#666;FONT-FAMILY:微软雅黑,sans-serif;;">
															<xsl:value-of select="Response/ITINERARY/HotelResponse/DayWeather/windEN"/>
														</td>
													</tr>
												</table>
											</xsl:if>
										</td>
									</tr>
									<tr>
										<td colspan="2" align="center" style="height:60px;border-top:solid 1px #0095d9">
											<span style="font-size:18px;font-weight:bold; FONT-FAMILY: 微软雅黑;color:#222222;">ITINERARY &amp; RECEIPT</span>
								　		</td>
									</tr>
								</table>
							</td>
							<td width="15">　</td>
						</tr>
						<xsl:apply-templates select="/Response/ErrorReason"/>
						<xsl:apply-templates select="/Response/ITINERARY"/>
					</TBODY>
				</TABLE>
			</body>
		</html>
	</xsl:template>
	<!--判断查询是否成功-->
	<xsl:template match="/Response/ErrorReason">
		<tr>
			<td width="15"/>
			<td>
				<xsl:value-of select="."/>
			</td>
		</tr>
	</xsl:template>
	<!--四种航段信息-->
	<xsl:template match="NORMAL">
		<xsl:variable name="AIRLINE" select="AIRLINE"/>
		<xsl:variable name="FLIGHTNO" select="FLIGHTNO"/>
		<xsl:variable name="CLASS" select="CLASS"/>
		<xsl:variable name="SEATSTATUS" select="SEATSTATUS"/>
		<xsl:for-each select="LEGS/LEG">
			<tr>
				<td style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" height="30">
					<xsl:value-of select="ORIGIN"/>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="$AIRLINE"/>
					<xsl:value-of select="$FLIGHTNO"/>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="$CLASS"/>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="DEPDATE"/>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="DEPTIME"/>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="ARRTIME"/>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:choose>
					<xsl:when test ="NVB != ''">
					<xsl:value-of select="NVB"/>
					</xsl:when>
					<xsl:otherwise>
					<SPAN>-</SPAN>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:if test="NVA!='' or NVB!=''">/</xsl:if>
				<xsl:choose>
					<xsl:when test ="NVA != ''">
					<xsl:value-of select="NVA"/>
					</xsl:when>
					<xsl:otherwise>
					<SPAN>-</SPAN>
					</xsl:otherwise>
				</xsl:choose>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="$SEATSTATUS"/>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="BAGGAGE"/>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
						<xsl:value-of select="ORI_TERMINAL"/>
				</td>
				<td align="middle" style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
						<xsl:value-of select="DEST_TERMINAL"/>
				</td>
			</tr>
		</xsl:for-each>
	</xsl:template>
	<xsl:template match="OPEN">
		<tr>
			<td  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" height="30px">
				<xsl:value-of select="ORIGIN"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
				<xsl:value-of select="AIRLINE"/>
				<xsl:value-of select="FLIGHTNO"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
				<xsl:value-of select="CLASS"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
				<xsl:value-of select="DEPDATE"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
				<xsl:value-of select="DEPTIME"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
				<xsl:value-of select="ARRTIME"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
				<xsl:choose>
					<xsl:when test ="NVB != ''">
					<xsl:value-of select="NVB"/>
					</xsl:when>
					<xsl:otherwise>
					<SPAN>-</SPAN>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:if test="NVA!='' or NVB!=''">/</xsl:if>
				<xsl:choose>
					<xsl:when test ="NVA != ''">
					<xsl:value-of select="NVA"/>
					</xsl:when>
					<xsl:otherwise>
					<SPAN>-</SPAN>
					</xsl:otherwise>
				</xsl:choose>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
				<xsl:value-of select="SEATSTATUS"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
				<xsl:value-of select="BAGGAGE"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
		</tr>
	</xsl:template>
	<xsl:template match="ARNK">
		<tr>
			<td  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" height="30px">
				<xsl:value-of select="ORIGIN"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
			<td align="middle">ARNK</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
				<xsl:value-of select="DATE"/>
			</td>
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
			<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
		</tr>
	</xsl:template>
	<xsl:template match="INFO">
		<xsl:variable name="AIRLINE" select="AIRLINE"/>
		<xsl:variable name="FLIGHTNO" select="FLIGHTNO"/>
		<xsl:variable name="CLASS" select="CLASS"/>
		<xsl:variable name="SEATSTATUS" select="SEATSTATUS"/>
		<xsl:for-each select="LEGS/LEG">
			<tr>
				<td  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" height="30px" >
					<xsl:value-of select="ORIGIN"/>
				</td>
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="$AIRLINE"/>
					<xsl:value-of select="$FLIGHTNO"/>
				</td>
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="$CLASS"/>
				</td>
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="DEPDATE"/>
				</td>
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="DEPTIME"/>
				</td>
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="ARRTIME"/>
				</td>
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:choose>
					<xsl:when test ="NVB != ''">
					<xsl:value-of select="NVB"/>
					</xsl:when>
					<xsl:otherwise>
					<SPAN>-</SPAN>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:if test="NVA!='' or NVB!=''">/</xsl:if>
				<xsl:choose>
					<xsl:when test ="NVA != ''">
					<xsl:value-of select="NVA"/>
					</xsl:when>
					<xsl:otherwise>
					<SPAN>-</SPAN>
					</xsl:otherwise>
				</xsl:choose>
				</td>
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="$SEATSTATUS"/>
				</td>
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" >
					<xsl:value-of select="BAGGAGE"/>
				</td>
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
				<td align="middle"  style="FONT-SIZE:12px;color:#555;border-bottom:1px solid #c6dae8;" />
			</tr>
		</xsl:for-each>
	</xsl:template>
	<xsl:template match="/Response/ITINERARY">
		<!--行程单信息-->
		<tr>
			<td width="15">　</td>
			<td>
				<TABLE cellSpacing="1" width="100%" style="FONT-SIZE: 14px; FONT-FAMILY:微软雅黑,sans-serif; color:#222;">
					<TBODY>
						<!--行程单信息:旅客及票号信息-->
						<tr>
							<td width="20%" height="30" align="right" style="padding-right:10px;background-color:#f2f2f2;">Passenger:</td>
							<td width="29%" style="padding-left:10px;"><b style="color:#0095d9;"><xsl:value-of select="PASSENGERLIST/PASSENGER/NAME"/> </b></td>
							<td width="20%" align="right" style="padding-right:10px;background-color:#f2f2f2;">Ticket Number:</td>
							<td width="" style="padding-left:10px;"><b style="color:#0095d9;"><xsl:value-of select="TICKETS/TICKETINFO/TKTN"/> </b></td>
						</tr>
						<tr>
							<td height="30" align="right" style="padding-right:10px;background-color:#f2f2f2;">Passport:</td>
							<td style="padding-left:10px;">
								<xsl:value-of select="PASSENGERLIST/PASSENGER/IDCARD/CARDTYPE"/>
								<b style="color:#0095d9;"><xsl:value-of select="PASSENGERLIST/PASSENGER/IDCARD/CARDNUMBER"/></b>
							</td>

							<td align="right" style="padding-right:10px;background-color:#f2f2f2;">Conjunct Ticket:</td>
							<td style="padding-left:10px;"><xsl:value-of select="TICKETS/TICKETINFO/CONJTKT"/> </td>
						</tr>
						<!--行程单信息:PNR信息-->
						<tr>
							<xsl:variable name="system" select="SYSTEM"/>
							<xsl:choose>
								<xsl:when test="$system='1E'">
									<td height="30" align="right" style="padding-right:10px;background-color:#f2f2f2;">Airline PNR:</td>
									<td style="padding-left:10px;"><xsl:value-of select="PNRNO"/></td>
									<td align="right" style="padding-right:10px;background-color:#f2f2f2;">TravelSky PNR:</td>
									<td style="padding-left:10px;"><xsl:value-of select="AIRLINEPNRNO"/></td>
								</xsl:when>
								<xsl:otherwise>
									<td height="30" align="right" style="padding-right:10px;background-color:#f2f2f2;">Airline PNR:</td>
									<td style="padding-left:10px;"><xsl:value-of select="AIRLINEPNRNO"/></td>
									<td align="right" style="padding-right:10px;background-color:#f2f2f2;">TravelSky PNR:</td>
									<td style="padding-left:10px;"><xsl:value-of select="PNRNO"/></td>
								</xsl:otherwise>
							</xsl:choose>
						</tr>
						<!--行程单信息:出票信息-->
						<tr>
								<td height="30" align="right" style="padding-right:10px;background-color:#f2f2f2;">Issued By:</td>
								<td style="padding-left:10px;"><xsl:value-of select="TICKETS/TICKETINFO/ISSUEDBY"/></td>
								<td align="right" style="padding-right:10px;background-color:#f2f2f2;">Date Of Issue:</td>
								<td style="padding-left:10px;"><xsl:value-of select="TICKETS/TICKETINFO/ISSUEDDATE"/></td>
						</tr>
						<!--行程单信息:代理人信息-->
						<tr>
								<td height="30" align="right" style="padding-right:10px;background-color:#f2f2f2;">Agency:</td>
								<td style="padding-left:10px;"><xsl:value-of select="AGENTINFO/NAME"/></td>
								<td align="right" style="padding-right:10px;background-color:#f2f2f2;">IATA Code:</td>
								<td style="padding-left:10px;"><xsl:value-of select="AGENTINFO/IATANUMBER"/></td>
						</tr>
						<tr>
								<td height="30" align="right" style="padding-right:10px;background-color:#f2f2f2;">Tel:</td>
								<td style="padding-left:10px;"><xsl:value-of select="AGENTINFO/CONTACTINFO/PHONE"/></td>
								<td align="right" style="padding-right:10px;background-color:#f2f2f2;">Fax:</td>
								<td style="padding-left:10px;"><xsl:value-of select="AGENTINFO/CONTACTINFO/FAX"/></td>
						</tr>
						<tr>
							<td height="30" align="right" style="padding-right:10px;background-color:#f2f2f2;">Agency Address:</td>
							<td colSpan="3" style="padding-left:10px;">
									<xsl:value-of select="AGENTINFO/CONTACTINFO/ADDRESS"/>
							</td>
						</tr>
						<tr>
							<td colSpan="4">
								<div style="height:10px;width:100%;display:block;"></div>
							</td>
						</tr>
						<tr>
							<td height="30" style="border-left:solid 4px #0095d9;font-size:14px;font-weight:bold;color:#222;padding-left:10px;">ITINERARY</td>
							<td colSpan="3">
							</td>
						</tr>

					</TBODY>
				</TABLE>
			</td>
		</tr>
		<!--行程单信息:航段信息-->
		<tr>
			<xsl:apply-templates select="SEGMENTS"/>
		</tr>
		<tr>
		<!--注释信息,在繁体版和英文版中隐藏-->
		<!--xsl:apply-templates select="FIFS"/-->
		</tr>
		<tr>
			<xsl:apply-templates select="HotelResponse"/>
		</tr>
		<tr>
			<td width="15">　</td>
			<td valign="top">
				<table border="0" cellSpacing="0" style="FONT-SIZE: 13px; FONT-FAMILY:微软雅黑,sans-serif;margin-top:-2px;">
					<TBODY>
						<tr style="background-color:#f0fafe">
							<td width="20%" height="25px" style="border-left:1px solid #c6dae8;">
								Fare:
							</td>
							<td width="80%" colspan="3" style="border-right:1px solid #c6dae8;">
									<xsl:value-of select="FARES/FARE/TICKETFARE/CURRENCY"/>
									<xsl:value-of select="FARES/FARE/TICKETFARE/AMOUNT"/>
							</td>
						</tr>
						<tr style="background-color:#f0fafe">
							<td width="20%" style="border-bottom:1px solid #c6dae8;border-left:1px solid #c6dae8;" height="25px">
								Total:
							</td>
							<td width="30%" style="border-bottom:1px solid #c6dae8;">
								<xsl:value-of select="FARES/FARE/TOTALFARE/CURRENCY"/>
								 <b style="color:#ff6600;"><xsl:value-of select="FARES/FARE/TOTALFARE/AMOUNT"/></b>
							</td>
							<td width="20%" style="border-bottom:1px solid #c6dae8;">
								Form Of Payment:
							</td>
							<td width="30%" style="border-bottom:1px solid #c6dae8;border-right:1px solid #c6dae8;">
								<xsl:value-of select="FPS/FP/PAYMENTTYPE"/>
							</td>
						</tr>
						<tr>
							<td colSpan="3" style="color:#333;border-left:1px solid #c6dae8;">
								<span style="display:inline-block;padding:2px;background-color:fbf9df;">The price of your ticket includes the following levy and fees:</span>
							</td>
							<td rowspan="2" width="300px" style="border-right:1px solid #c6dae8;">
								<img src="MF/aircraft.jpg" class="vat" width="300px"/>
							</td>
						</tr>
						<tr>
							<td colSpan="4" style="border-left:1px solid #c6dae8;border-bottom:1px solid #c6dae8;">
								<table border="0" width="100%" style="FONT-SIZE: 12px; FONT-FAMILY:微软雅黑,sans-serif;color:#555;">
								<xsl:if test="substring-before(FCS/FC,'6.10OP')!=''"><tr><td width="5%">-</td><td>Aviation levy of</td><td> 6.10</td></tr></xsl:if>
									<xsl:for-each select="FARES/FARE/TAX">
										<tr>
											<td width="5%">-</td>
											<td width="20%"><xsl:apply-templates select="OTHERTYPE"/></td>
											<td width="75%">
												<xsl:value-of select="CURRENCY"/>
												<xsl:apply-templates select="AMOUNT"/>
												<xsl:value-of select="FARES/FARE/TAX"/>
											</td>
										</tr>
									</xsl:for-each>
								</table>
							</td>
						</tr>
						<tr>
							<td colspan="4">
								<div style="display:block;width:100%;height:12px;"></div>
							</td>
						</tr>
						<tr>
							<td style="border-left:solid 4px #0095d9;font-size:14px;font-weight:bold;color:#222;padding-left:10px;">
								RESTRICTIONS:
							</td>
							<td colspan="3" style="color:#555555;">
								<xsl:value-of select="TICKETS/TICKETINFO/ER"/>
							</td>
						</tr>
						<tr>
							<td colspan="4">
								<div style="width:100%;height:30px;display:block;"></div>
							</td>
						</tr>
						<tr>
							<td colspan="4" style="border-left:solid 4px #0095d9;font-size:14px;font-weight:bold;color:#222;padding-left:10px;">
								NOTICES:
							</td>
						</tr>
						<tr>
							<td colspan="4" >
								<table width="100%" cellpadding="0" cellspacing="0" border="0" style="FONT-SIZE: 12px;FONT-FAMILY:微软雅黑,sans-serif; color:#555555;">
									<tr>
										<td width="110px"><img src="MF/man.jpg" width="90px"/></td>
										<td>
											<!--<xsl:for-each select="NOTICE/LINE">
												<li style="TABLE-LAYOUT: fixed;word-wrap:break-word;line-height:18px;padding:0px;margin:0px 0px 15px 0px; ">

														<xsl:value-of select="."/>
												</li>
											</xsl:for-each>-->
												<li style="TABLE-LAYOUT: fixed;word-wrap:break-word;line-height:18px;padding:0px;margin:0px 0px 15px 0px; ">
												请在上午/下午__________________点， 到新加坡1号机场，_____排柜台办手续</li>
												<li style="TABLE-LAYOUT: fixed;word-wrap:break-word;line-height:18px;padding:0px;margin:0px 0px 15px 0px; ">
												Passengers are required to reach the airport no later than 2 hours before the scheduled departure time for check-in. At the check-in counter, kindly present the same Passport as you produced in purchasing the ticket.</li>
												<li style="TABLE-LAYOUT: fixed;word-wrap:break-word;line-height:18px;padding:0px;margin:0px 0px 15px 0px; ">
												Passengers are required to present the valid Passport and Boarding Pass when going through security check.</li>
												<li style="TABLE-LAYOUT: fixed;word-wrap:break-word;line-height:18px;padding:0px;margin:0px 0px 15px 0px; ">
												For assistance, please contact 24-hours service hotline: <b>95557</b> ( China ) or <b>86-592-2226666</b> ( Oversea ) 
												</li>											
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td colspan="4" >
								<div style="width:100%;height:1px;display:block;border-bottom:solid 2px #0095d9;"></div>
							</td>
						</tr>
					</TBODY>
				</table>
			</td>
			<td width="15">　</td>
		</tr>

	</xsl:template>
	<xsl:template match="FARES/FARE/TAX">
		<td>
			<xsl:value-of select="AMOUNT"/>
			<xsl:value-of select="CURRENCY"/>
		</td>
	</xsl:template>
	<xsl:template match="SEGMENTS">
		<!--行程单信息:航段信息-->
		<td width="15" high="10"/>
		<td>
			<table cellSpacing="0" width="100%" style="border-top:1px solid #c6dae8;border-left:1px solid #c6dae8;border-right:1px solid #c6dae8;FONT-SIZE: 12px; FONT-FAMILY:微软雅黑,sans-serif;">
				<TBODY>
					<tr valign="bottom" style="background-color:#def0f8;">
						<td align="left" rowspan="2" height="50" style="border-bottom:1px solid #c6dae8;">ORIGIN / DESTINATION</td>
						<td align="middle" rowspan="2" style="border-bottom:1px solid #c6dae8;">FLIGHT</td>
						<td align="middle" rowspan="2" style="border-bottom:1px solid #c6dae8;">CLASS</td>
						<td align="middle" rowspan="2" style="border-bottom:1px solid #c6dae8;">DATE</td>
						<td align="middle" rowspan="2" style="border-bottom:1px solid #c6dae8;">TIME</td>
						<td align="middle" rowspan="2" style="border-bottom:1px solid #c6dae8;">ARRTIME</td>
						<td align="middle" rowspan="2" style="border-bottom:1px solid #c6dae8;">NVA/NVB</td>
						<td align="middle" rowspan="2" style="border-bottom:1px solid #c6dae8;">STATUS</td>
						<td align="middle" rowspan="2" style="border-bottom:1px solid #c6dae8;">ALLOW</td>
						<td align="right" colspan="2" style="padding-right:10px;">TERMINAL</td>
					</tr>
					<tr valign="bottom">
						<td align="middle" style="background-color:#def0f8;border-bottom:1px solid #c6dae8;">DEP</td>
						<td align="middle" style="background-color:#def0f8;border-bottom:1px solid #c6dae8;">ARR</td>
					</tr>
					<xsl:for-each select="SEGMENT">
						<xsl:apply-templates select="NORMAL"/>
						<xsl:apply-templates select="OPEN"/>
						<xsl:apply-templates select="INFO"/>
						<xsl:apply-templates select="ARNK"/>
						<xsl:if test="position()=last()">
							<tr style="">
								<td colspan="11" style="border-bottom:1px solid #c6dae8;FONT-SIZE: 12px; FONT-FAMILY:微软雅黑,sans-serif;color:#555;" height="30px">
									<xsl:value-of select="NORMAL[last()]/LEGS/LEG[last()]/DEST"/>
									<xsl:value-of select="INFO[last()]/LEGS/LEG[last()]/DEST"/>
									<xsl:value-of select="ARNK[last()]/DEST"/>
									<xsl:value-of select="OPEN[last()]/DEST"/>
								</td>
							</tr>
						</xsl:if>
					</xsl:for-each>
				</TBODY>
			</table>
		</td>
	</xsl:template>
	<xsl:template match="NOTICE/ATTENTION">
		<tr>
			<td>
				<P class="MsoNormal">
					<B style="color:#0095d9;">
						<SPAN style="FONT-SIZE: 14px; FONT-FAMILY:微软雅黑,sans-serif;">ATTENTION:<xsl:value-of select="."/>
						</SPAN>
					</B>
				</P>
			</td>
		</tr>
	</xsl:template>
	<xsl:template match="FIFS">
		<xsl:if test="FLTINFO/ENGINFO!=''">
			<td width="15">　</td>
			<td>
				<table border="0" width="599" cellSpacing="1">
					<TBODY>
						<td style="FONT-SIZE:12px; FONT-FAMILY:微软雅黑,sans-serif;">
							<xsl:for-each select="FLTINFO">
								<li style="list-style: none;">
									<xsl:value-of select="MAIRLINE"/>
									<xsl:value-of select="MFLIGHTNO"/>/<xsl:value-of select="MDATE"/>:<xsl:value-of select="ENGINFO"/>
								</li>
							</xsl:for-each>
						</td>
					</TBODY>
				</table>
				<tr>
					<hr color="#C0C0C0"/>
				</tr>
			</td>
		</xsl:if>
	</xsl:template>
	<xsl:template match="HotelResponse">
		<xsl:if test="Cities !=''">
			<td width="15">　</td>
			<td>
				<!--table border="1" width="599" cellSpacing="1" color="#C0C0C0" -->
				<table width="650" border="0"  cellpadding="0" cellspacing="1" style="border: 1pt solid #EEEEEE; font-family:微软雅黑, Times New Roman;border-collapse:collapse;line-height:30px;">
					<tr style="FONT-SIZE: 12px; FONT-FAMILY:微软雅黑, Times New Roman;border: 1pt solid #EEEEEE;background-color:#f2f2f2; color:#333;" height="21">
						<td width="30%" style="border: 1pt solid #EEEEEE; font-weight: bold;"> PREFERRED HOTEL</td>
						<td width="30%" style="border: 1pt solid #EEEEEE; font-weight: bold;"> PRICE </td>
						<td width="40%" style="border: 1pt solid #EEEEEE; font-weight: bold;"> LOCATION </td>
					</tr>
					<xsl:for-each select="Cities/City">
						<xsl:for-each select="Hotels/Hotel">
							<tr style="FONT-SIZE: 12px; FONT-FAMILY:微软雅黑, Times New Roman;color:#666;">
								<td width="30%" style="border: 1pt solid #EEEEEE;">
									<xsl:value-of select="NameEN"/>(<xsl:value-of select="HotelRank"/>)
								</td>
								<xsl:for-each select="Rooms">
									<td width="30%" style="border: 1pt solid #EEEEEE;">
										<xsl:value-of select="Room/RoomType"/>:<xsl:value-of select="Room/Rate"/>
									</td>
								</xsl:for-each>
								<td width="40%" style="border: 1pt solid #EEEEEE;">
									<xsl:value-of select="HotelPosition"/>
								</td>
							</tr>
						</xsl:for-each>
					</xsl:for-each>
					<tr>
						<td colspan="3" align="right" style="FONT-SIZE: 12px; FONT-FAMILY:微软雅黑, Times New Roman;border: 1pt solid #EEEEEE;">
							<xsl:value-of select="Demo"/>
						</td>
					</tr>
				</table>
				<tr>
					<td height="16"/>
				</tr>
			</td>
		</xsl:if>
	</xsl:template>
</xsl:stylesheet>