1
0
1
1
1
http://travel.aol.com/travel/AdMagicServlet?&query=Paris&start=1&num=10&page=1&country=France&city=Paris
-
eur
france
http://information.travel.aol.com/travel-guide/europe/france
paris
1
0
1
1
1
1106
853
74
true
1
0
1
1
1
-
<div class=gsl' style="margin:0;padding:0;width:756px;height:110px;border:1px solid #BFC0C4; " >
<h3 style="margin:5px;padding:0px;font-family:arial;color:#000;font-size:16px;">Sponsored Links</h3>
<div style="float:left;padding:0px 3px;display:inline;width:183px;border-right:0 solid #E0DEC6;">
<a href="http://switcher.dmn.aol.com/sw/r?ri=516MxneW4pRLimZUqx7YLDIg&ai=0&dt=1217090329953&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB9BvxGVOLSL2DPZqEzAWjtIm4CJGM5HKBie_1BcCNtwHgpxIQARgBIN_WjwYoBTgAUM2-_fX8_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL6kCoCTwTatWuj6oAwHoA4cG6AP3AvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.flats.fr%26client%3Dca-aol-service_traveldestination_xml&cs=sR2UX0Q0lWpr4MI%2FV59218KhvpM%3D" style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:12px;font-weight:bold;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" target="_blank">
<b>Paris</b> Apartments Rentals</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">40 furnished apartments in <b>Paris</b></p>
<a style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:11px;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" href="http://switcher.dmn.aol.com/sw/r?ri=516MxneW4pRLimZUqx7YLDIg&ai=0&dt=1217090329953&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB9BvxGVOLSL2DPZqEzAWjtIm4CJGM5HKBie_1BcCNtwHgpxIQARgBIN_WjwYoBTgAUM2-_fX8_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL6kCoCTwTatWuj6oAwHoA4cG6AP3AvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.flats.fr%26client%3Dca-aol-service_traveldestination_xml&cs=sR2UX0Q0lWpr4MI%2FV59218KhvpM%3D" target="_blank">www.flats.fr</a>
</div>
<div style="float:left;padding:0px 3px;display:inline;width:183px;border-right:0 solid #E0DEC6;">
<a href="http://switcher.dmn.aol.com/sw/r?ri=516MxneW4pRLimZUqx7YLDIg&ai=1&dt=1217090329953&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBRO5fGVOLSL2DPZqEzAWjtIm4CMfG5mzF1v2MBMCNtwHgxQgQAhgCIN_WjwYoBTgAUIOFhtr8_____wFgyYaAgNwjoAGOiYL_A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC_IAq3WtwGoAwHoA4cG6AP3AvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D2%26ggladgrp%3D7444886645259385220%26gglcreat%3D3464730050547468902%26adurl%3Dhttp%3A%2F%2Fwww.nationalgeographic.com%2Fplaces%2Fphotos%2Fparis-gallery-1.html%253Fsource%253DG1731%2526kwid%253DContentNetwork%257C987687985%26client%3Dca-aol-service_traveldestination_xml&cs=UopTJ4atC%2B3AmW3ZahyeLYxnR2M%3D" style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:12px;font-weight:bold;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" target="_blank">
<b>Paris</b> Pictures</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Source For All Things <b>Paris</b></p>
<a style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:11px;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" href="http://switcher.dmn.aol.com/sw/r?ri=516MxneW4pRLimZUqx7YLDIg&ai=1&dt=1217090329953&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBRO5fGVOLSL2DPZqEzAWjtIm4CMfG5mzF1v2MBMCNtwHgxQgQAhgCIN_WjwYoBTgAUIOFhtr8_____wFgyYaAgNwjoAGOiYL_A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC_IAq3WtwGoAwHoA4cG6AP3AvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D2%26ggladgrp%3D7444886645259385220%26gglcreat%3D3464730050547468902%26adurl%3Dhttp%3A%2F%2Fwww.nationalgeographic.com%2Fplaces%2Fphotos%2Fparis-gallery-1.html%253Fsource%253DG1731%2526kwid%253DContentNetwork%257C987687985%26client%3Dca-aol-service_traveldestination_xml&cs=UopTJ4atC%2B3AmW3ZahyeLYxnR2M%3D" target="_blank">www.NationalGeographic.com</a>
</div>
<div style="float:left;padding:0px 3px;display:inline;width:183px;border-right:0 solid #E0DEC6;">
<a href="http://switcher.dmn.aol.com/sw/r?ri=516MxneW4pRLimZUqx7YLDIg&ai=2&dt=1217090329953&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBwORCGVOLSL2DPZqEzAWjtIm4CJX4uDT90s3tAsCNtwGQvwUQAxgDIN_WjwYoBTgAUKbumAlgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gCudCnA6gDAegDhwboA_cC9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D3%26ggladgrp%3D16053530819636450475%26gglcreat%3D15840482768771606916%26adurl%3Dhttp%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-g187147-d197446-Reviews-m10995-Ibis_Bastille_Opera-Paris_Ile_de_France-GoogleUS0C.html%26client%3Dca-aol-service_traveldestination_xml&cs=9bNJmJNg9g2E8eL9v3OTsW%2FtaGs%3D" style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:12px;font-weight:bold;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" target="_blank">
<b>Paris</b> Hotels</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Find Deals, Read Reviews from Real</p>
<a style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:11px;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" href="http://switcher.dmn.aol.com/sw/r?ri=516MxneW4pRLimZUqx7YLDIg&ai=2&dt=1217090329953&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBwORCGVOLSL2DPZqEzAWjtIm4CJX4uDT90s3tAsCNtwGQvwUQAxgDIN_WjwYoBTgAUKbumAlgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gCudCnA6gDAegDhwboA_cC9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D3%26ggladgrp%3D16053530819636450475%26gglcreat%3D15840482768771606916%26adurl%3Dhttp%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-g187147-d197446-Reviews-m10995-Ibis_Bastille_Opera-Paris_Ile_de_France-GoogleUS0C.html%26client%3Dca-aol-service_traveldestination_xml&cs=9bNJmJNg9g2E8eL9v3OTsW%2FtaGs%3D" target="_blank">www.TripAdvisor.com</a>
</div>
<div style="float:left;padding:0px 3px;display:inline;width:183px;border-right:0 solid #E0DEC6;">
<a href="http://switcher.dmn.aol.com/sw/r?ri=516MxneW4pRLimZUqx7YLDIg&ai=3&dt=1217090329953&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBQQvDGVOLSL2DPZqEzAWjtIm4CLT64FGK-oG5BcCNtwHQ2REQBBgEIN_WjwYoBTgAUI_6o-wDYMmGgIDcI6ABjMel_wOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvgAIBqAMB6AOHBugD9wL1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.parisnotes.com%26client%3Dca-aol-service_traveldestination_xml&cs=425Hic2gZDua6OtZDEfLTZdRcs8%3D" style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:12px;font-weight:bold;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" target="_blank">
<b>Paris</b> Notes</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;"><b>Paris</b>, France, news and information</p>
<a style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:11px;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" href="http://switcher.dmn.aol.com/sw/r?ri=516MxneW4pRLimZUqx7YLDIg&ai=3&dt=1217090329953&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBQQvDGVOLSL2DPZqEzAWjtIm4CLT64FGK-oG5BcCNtwHQ2REQBBgEIN_WjwYoBTgAUI_6o-wDYMmGgIDcI6ABjMel_wOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvgAIBqAMB6AOHBugD9wL1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.parisnotes.com%26client%3Dca-aol-service_traveldestination_xml&cs=425Hic2gZDua6OtZDEfLTZdRcs8%3D" target="_blank">www.parisnotes.com</a>
</div>
</div>
1
0
2
1
2
null
http://switcher.dmn.aol.com/sw/a?squery=Paris&ip=205.188.101.252&sch=ca-aol-service_traveldestination_xml&ssch=listings_hotel&snum=4&skw=Paris
-
http://switcher.dmn.aol.com/sw/r?ri=12XNkUVtoWQzaV9UXOk0CvZg&ai=0&dt=1217090329942&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBDovkGVOLSJ23PJvoyQWH7ZCbCZGM5HKBie_1BcCNtwHQ2REQARgBIN_WjwYoAjgAUM2-_fX8_____wFgyQayAQRudWxsyAEB2gEMaHR0cDovL251bGwvqQKgJPBNq1a6PqgDAegDhwboA_cC9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.flats.fr%26client%3Dca-aol-service_traveldestination_xml&cs=1GM1ekXv97OEzSFsWcXX3rTz0Ts%3D
ppclick
<b>Paris</b> Apartments Rentals
40 furnished apartments in <b>Paris</b>
www.flats.fr
Accomodation Service in <b>Paris</b>
-
http://switcher.dmn.aol.com/sw/r?ri=12XNkUVtoWQzaV9UXOk0CvZg&ai=1&dt=1217090329942&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBPcjnGVOLSJ23PJvoyQWH7ZCbCcfG5myd7uabBMCNtwHgxQgQAhgCIN_WjwYoAjgAUMPBoJr8_____wFgyQagAY6Jgv8DsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gCrda3AagDAegDhwboA_cC9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26ggladgrp%3D7444886645259385220%26gglcreat%3D9177148804741839582%26adurl%3Dhttp%3A%2F%2Fwww.nationalgeographic.com%2Fplaces%2Fphotos%2Fparis-gallery-1.html%253Fsource%253DG1731%2526kwid%253DContentNetwork%257C1014808825%26client%3Dca-aol-service_traveldestination_xml&cs=bzMnZ7tE93bISKYjXUwI2BgH%2BAs%3D
ppclick
<b>Paris</b> Pictures
Facts & Info For <b>Paris</b>
www.NationalGeographic.com
Nat Geo's Places of A Lifetime.
1
0
10
1
10
1106
1
10
-
61, rue de la Voute
Hotel Jardins de Paris Nation Bercy
75012
1-4345-4138
33
G65929
73.99
http://images.leonardo.com/imgs/G/G65929/G65929_EXT_04_A.jpg
Paris
France
-
26/28 rue des Batignolles
Des Batignolles Hotel
75017
1-4387-7040
33
K06054
82.21
http://images.leonardo.com/imgs/K/K06054/K06054_EXT_02_A.jpg
Paris
France
-
9 rue Tarbe
Prince Albert Monceau
75017
1-4763-4174
33
L36373
82.21
http://images.leonardo.com/imgs/L/L36373/L36373_EXT_01_A.jpg
Paris
France
-
5 rue Veronese
Kyriad Italy Gobelins Hotel
75013
1-4707-2090
33
F19620
83.84
http://images.leonardo.com/imgs/F/F19620/F19620_EXT_02_A.jpg
Paris
France
-
153 rue de Vaugirard
Sevres Montparnesse Hotel
75015
1-4734-5675
33
K17285
88.48
Paris
France
4
-
73, rue Boileau
Exelmans Hotel
75016
1-4224-9466
33
837687
90.42
http://images.leonardo.com/imgs/8/837687/837687_EXT_02_A.jpg
Paris
France
-
53, rue d'Amsterdam
Jardin de Paris Saint Lazare
75008
1-4874-7974
33
F16680
90.42
http://images.leonardo.com/imgs/F/F16680/F16680_EXT_02_A.jpg
Paris
France
-
29 rue Campagne Premiere
Hotel Istria
75014
143-209-182
33
T19326
90.44
http://images.leonardo.com/imgs/T/T19326/T19326_EXT_02_A.jpg
Paris
France
-
66, Rue de Malte
Hibiscus Hotel
75011
1-4700-3434
33
P02332
93.71
Paris
France
-
22, rue H Maindron
Jardin Montparnasse de Paris
75014
1-4044-5151
33
H44144
95.34
http://images.leonardo.com/imgs/H/H44144/H44144_EXT_02_A.jpg
Paris
France
Paris
1
10
Price
1540
-1164168648484328669
47
web
Paris
Paris
http
/web
80
travel.aol.com
/destGuide/web
GET
205.188.101.252
-1
eng
HTTP/1.1
USA
/destGuide
http://travel.aol.com/destGuide/web
205.188.101.252
query=Paris&city=Paris&country=France&start=1&end=10&minPrice=0&maxPrice=0&minRate=0&maxRate=0&order=asc&orderBy=Price&Rule=47&debug=2&cityId=8&dmnsch=ca-aol-service_traveldestination_xml&dmnssch=listings_hotel&skw=Paris&listing=hotels_direct
-1164168648484328671
0
Paris
15
0
listings_hotel
Paris
Paris
0
asc
0
2
France
hotels_direct
ca-aol-service_traveldestination_xml
8
SANDBOX
moduleLogger
destGuideApp
>UTF-8
/
8080
clickedItemURN
abcdef
src
abcdef
/search
./newshome
/web
./web_idx
/image
./newshome
/imageDetails
./newshome
/video
./newshome
/audio
./newshome
/browse
./newshome
/news
./newshome
/business
./newshome
/sports
./newshome
/entertainment
./newshome
/
ClickThrough
websearch
websearch
searchType
MS
source
google
partner
Google
sponsored
sponsored
searchType
SL
source
google
partner
Google
searchType
TTF
source
ttf
adsInfo
HotelListingTopSource
lib_sponsor
google_common_module
HotelListingSource
adsInfo
url
city
state
country
city
state
country
adsInfo
1
vss
3
adsInfo Source
HotelListingTopSource
url
cityId
city
state
country
cityId
city
state
country
HotelListingTopSource
1
vss
3
VSS HotelListingTopSource Source
lib_sponsor
url
dmnsch
dmnssch
skw
dmnsch
dmnssch
skw
lib_sponsor
1
lib_sponsor
3
sponsored links
google_common_module
url
dmnsch
dmnssch
skw
gls_limit
layer_width
dmnsch
dmnssch
skw
gls_limit
layer_width
google_common_module
1
vss
3
s_common_module Source
HotelListingSource
url
cityId
city
state
country
start
end
minPrice
maxPrice
minRate
maxRate
orderBy
order
cityId
city
state
country
start
end
minPrice
maxPrice
minRate
maxRate
orderBy
order
HotelListingSource
1
vss
3
VSS HotelListingSource Source
Paris
hotelListingFilter.I
inner
DIRTY_VER.1
hotelListingFilter.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=hotelListingFilter.M
false
url
cityId
city
state
country
cityId
city
state
country
HotelListingTopSource
1
vss
3
VSS HotelListingTopSource Source
http://travel.aol.com/destGuide/web?rt=1&id=hotelListingFilter.M&minPrice=0&start=1&dmnssch=listings_hotel&end=10&maxPrice=0&orderBy=Price&order=asc&minRate=0&debug=2&userid=-1164168648484328669&Rule=47&country=France&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Paris&cityId=8&skw=Paris&clickstreamid=-1164168648484328671&maxRate=0&city=Paris
HotelListingTopSource
url
cityId
city
state
country
cityId
city
state
country
HotelListingTopSource
1
vss
3
VSS HotelListingTopSource Source
HotelListingTopSource
defaultController
hotelListingFilter.M
module
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<xsl:variable name="request_Uri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" />
<xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" />
<xsl:variable name="cityName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/city"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="stateName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/state"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="countryName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/country"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="cityId" select="/xmldoc/parameters/cityId" />
<xsl:variable name="restoreUrl">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, '-hotels')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $countryName, ':', $cityId, '-hotels')" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:template name="filterListingModule">
<!-- Filter Div Starts -->
<div id="filterDiv">
<div id="filter_headerRow">
<div id="filterHeader">Hotels</div>
<div id="restoreLink" style="display:none;"><a href="{$restoreUrl}" title="Restore All Hotels">Restore All</a></div>
</div>
<div id="filter_resultNameDispRow">
Your Hotel Search: <span><xsl:value-of select="/xmldoc/parameters/city"/></span>
</div>
<div id="filter_instructionRow">
Adjust price and rating to narrow hotel results
</div>
<!-- Result Count, Sliders Div Starts -->
<div id="filter_resultCountFilter">
<!-- Result Count Starts -->
<div id="resultCount">
<div id="countNumber"><script type="text/javascript">document.write(resultCnt);</script></div>
<div id="countTxt">hotels match your selection</div>
</div>
<!-- Result Count Ends -->
<!-- Price Filter Div Starts -->
<div id="filter1">
<div id="filter1_values">
<div id="minVal" class="floatLeft">$<script type="text/javascript">document.write(priceMinValue);</script></div>
<div id="maxVal" class="floatRight">$<script type="text/javascript">document.write(priceMaxValue);</script></div>
</div>
<div id="slider1" style="width:136px;">
<div id="sliderImgLeft1" style="width:8px;cursor:pointer;" onmousedown="left_onMouseDownFn(event);"><content/></div>
<div id="sliderImgRight1" style="width:8px;cursor:pointer;" onmousedown="right_onMouseDownFn(event);"><content/></div> 
</div>
<div id="filter1_valuesTxt">Price: <span id="minValSpan">$<script type="text/javascript">document.write(priceMinValue);</script></span> - <span id="maxValSpan">$<script type="text/javascript">document.write(priceMaxValue);</script></span> (USD)</div>
</div>
<!-- Price Filter Div Ends -->
<!-- Rating Filter Div Starts -->
<div id="filter2">
<div id="filter2_values">
<div id="starImgDiv">
<img id="star1" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
<img id="star2" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
<img id="star3" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
<img id="star4" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
<img id="star5" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
</div>
</div>
<div id="slider2" style="width:136px;">
<div id="sliderImgLeft2" style="width:8px;cursor:pointer;" onmousedown="left_onMouseDownFn1(event);"><content/></div>
<div id="sliderImgRight2" style="width:8px;cursor:pointer;" onmousedown="right_onMouseDownFn1(event);"><content/></div> 
</div>
<div id="filter2_valuesTxt">Rating: <span id="minRating">1</span> - <span id="maxRating">5</span> Stars</div>
</div>
<!-- Rating Filter Div Ends -->
</div>
<!-- Result Count, Sliders Div Starts -->
<div id="filter_sortDiv">
<script language="javascript" type="text/javascript">
var dispSortingStr = getSortStr(sortyBy,orderBy,startValue,endValue,listUrl);
document.getElementById('filter_sortDiv').innerHTML = dispSortingStr;
</script>
</div>
</div>
<!-- Filter Div Ends -->
<!-- Hotel Listing Div Starts -->
<xsl:variable name="queryParams">
<xsl:call-template name="replace-string">
<xsl:with-param name="text" select="xmldoc/parameters/requestinfo/querystring"></xsl:with-param>
<xsl:with-param name="replace">Rule=47</xsl:with-param>
<xsl:with-param name="with">Rule=48</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="requestUri"><xsl:value-of select="xmldoc/parameters/requestinfo/requesturi"/></xsl:variable>
<xsl:variable name="completeUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable>
<!-- <div dojoType="LinkPane" id="listingDiv" executeScripts="true" href="{$completeUrl}"><content/> -->
<div dojoType="LinkPane" id="listingDiv" executeScripts="true" href=""><content/></div>
<div id="initialContent">
<xsl:apply-templates select="/xmldoc/outcomes/HotelListingSource" />
</div>
<!-- Hotel Listing Div Ends -->
<!-- Seo Url Div Starts -->
<!-- div id="seoDiv" style="display:none;">
<xsl:variable name="seoHrefStart">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, '-')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $countryName, ':', $cityId, '-')" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="seoHrefEnd">-1:10-ajax-seo-listing-hotel-direct</xsl:variable>
<a href="{$seoHrefStart}Price-ASC{$seoHrefEnd}">Price Ascending</a>
<a href="{$seoHrefStart}Price-DESC{$seoHrefEnd}">Price Descending</a>
<a href="{$seoHrefStart}Rating-ASC{$seoHrefEnd}">Rating Ascending</a>
<a href="{$seoHrefStart}Rating-DESC{$seoHrefEnd}">Rating Descending</a>
<a href="{$seoHrefStart}HotelName-ASC{$seoHrefEnd}">HotelName Ascending</a>
<a href="{$seoHrefStart}HotelName-DESC{$seoHrefEnd}">HotelName Descending</a>
</div -->
<!-- Seo Url Div Starts -->
</xsl:template>
<xsl:template match="/xmldoc/outcomes/HotelListingTopSource">
<script type="text/javascript" language="javascript">
<xsl:choose>
<xsl:when test="minPrice != ''">
var priceMinValue = <xsl:value-of select="minPrice"/>;
</xsl:when>
<xsl:otherwise>
var priceMinValue = 0;
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="maxPrice != ''">
var priceMaxValue = <xsl:value-of select="maxPrice"/>;
</xsl:when>
<xsl:otherwise>
var priceMaxValue = 0;
</xsl:otherwise>
</xsl:choose>
var resultCnt = <xsl:value-of select="countHotels"/>;
var ratingVal = <xsl:value-of select="rating"/>;
var imgSrc = '<xsl:value-of select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'resourcesDir']"/>';
</script>
</xsl:template>
<xsl:template match="/xmldoc/parameters">
<xsl:variable name="queryParams">
<xsl:call-template name="replace-string">
<xsl:with-param name="text" select="requestinfo/querystring"></xsl:with-param>
<xsl:with-param name="replace">Rule=47</xsl:with-param>
<xsl:with-param name="with">Rule=48</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="requestUri"><xsl:value-of select="requestinfo/requesturl"/></xsl:variable>
<xsl:variable name="listUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable>
<script type="text/javascript" language="javascript">
var sortyBy = '<xsl:value-of select="orderBy"/>';
var orderBy = '<xsl:value-of select="order"/>';
var startValue = <xsl:value-of select="start"/>;
var endValue = <xsl:value-of select="end"/>;
var listUrl = '<xsl:value-of select="$listUrl"/>';
</script>
</xsl:template>
<xsl:template name="replace-string">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="with"/>
<xsl:choose>
<xsl:when test="contains($text, $replace)">
<xsl:variable name="before" select="substring-before($text, $replace)"/>
<xsl:variable name="after" select="substring-after($text, $replace)"/>
<xsl:variable name="prefix" select="concat($before, $with)"/>
<xsl:value-of select="concat($before,$with,$after)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
DIRTY_VER.1
hotelListingFilter.M
hotelListingFilter.MS
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<xsl:variable name="request_Uri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" />
<xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" />
<xsl:variable name="cityName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/city"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="stateName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/state"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="countryName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/country"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="cityId" select="/xmldoc/parameters/cityId" />
<xsl:variable name="restoreUrl">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, '-hotels')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $countryName, ':', $cityId, '-hotels')" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:template name="filterListingModule">
<!-- Filter Div Starts -->
<div id="filterDiv">
<div id="filter_headerRow">
<div id="filterHeader">Hotels</div>
<div id="restoreLink" style="display:none;"><a href="{$restoreUrl}" title="Restore All Hotels">Restore All</a></div>
</div>
<div id="filter_resultNameDispRow">
Your Hotel Search: <span><xsl:value-of select="/xmldoc/parameters/city"/></span>
</div>
<div id="filter_instructionRow">
Adjust price and rating to narrow hotel results
</div>
<!-- Result Count, Sliders Div Starts -->
<div id="filter_resultCountFilter">
<!-- Result Count Starts -->
<div id="resultCount">
<div id="countNumber"><script type="text/javascript">document.write(resultCnt);</script></div>
<div id="countTxt">hotels match your selection</div>
</div>
<!-- Result Count Ends -->
<!-- Price Filter Div Starts -->
<div id="filter1">
<div id="filter1_values">
<div id="minVal" class="floatLeft">$<script type="text/javascript">document.write(priceMinValue);</script></div>
<div id="maxVal" class="floatRight">$<script type="text/javascript">document.write(priceMaxValue);</script></div>
</div>
<div id="slider1" style="width:136px;">
<div id="sliderImgLeft1" style="width:8px;cursor:pointer;" onmousedown="left_onMouseDownFn(event);"><content/></div>
<div id="sliderImgRight1" style="width:8px;cursor:pointer;" onmousedown="right_onMouseDownFn(event);"><content/></div> 
</div>
<div id="filter1_valuesTxt">Price: <span id="minValSpan">$<script type="text/javascript">document.write(priceMinValue);</script></span> - <span id="maxValSpan">$<script type="text/javascript">document.write(priceMaxValue);</script></span> (USD)</div>
</div>
<!-- Price Filter Div Ends -->
<!-- Rating Filter Div Starts -->
<div id="filter2">
<div id="filter2_values">
<div id="starImgDiv">
<img id="star1" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
<img id="star2" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
<img id="star3" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
<img id="star4" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
<img id="star5" src="{$docRootSubDir}/img/filled_star.gif" border="0" />
</div>
</div>
<div id="slider2" style="width:136px;">
<div id="sliderImgLeft2" style="width:8px;cursor:pointer;" onmousedown="left_onMouseDownFn1(event);"><content/></div>
<div id="sliderImgRight2" style="width:8px;cursor:pointer;" onmousedown="right_onMouseDownFn1(event);"><content/></div> 
</div>
<div id="filter2_valuesTxt">Rating: <span id="minRating">1</span> - <span id="maxRating">5</span> Stars</div>
</div>
<!-- Rating Filter Div Ends -->
</div>
<!-- Result Count, Sliders Div Starts -->
<div id="filter_sortDiv">
<script language="javascript" type="text/javascript">
var dispSortingStr = getSortStr(sortyBy,orderBy,startValue,endValue,listUrl);
document.getElementById('filter_sortDiv').innerHTML = dispSortingStr;
</script>
</div>
</div>
<!-- Filter Div Ends -->
<!-- Hotel Listing Div Starts -->
<xsl:variable name="queryParams">
<xsl:call-template name="replace-string">
<xsl:with-param name="text" select="xmldoc/parameters/requestinfo/querystring"></xsl:with-param>
<xsl:with-param name="replace">Rule=47</xsl:with-param>
<xsl:with-param name="with">Rule=48</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="requestUri"><xsl:value-of select="xmldoc/parameters/requestinfo/requesturi"/></xsl:variable>
<xsl:variable name="completeUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable>
<!-- <div dojoType="LinkPane" id="listingDiv" executeScripts="true" href="{$completeUrl}"><content/> -->
<div dojoType="LinkPane" id="listingDiv" executeScripts="true" href=""><content/></div>
<div id="initialContent">
<xsl:apply-templates select="/xmldoc/outcomes/HotelListingSource" />
</div>
<!-- Hotel Listing Div Ends -->
<!-- Seo Url Div Starts -->
<!-- div id="seoDiv" style="display:none;">
<xsl:variable name="seoHrefStart">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, '-')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $countryName, ':', $cityId, '-')" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="seoHrefEnd">-1:10-ajax-seo-listing-hotel-direct</xsl:variable>
<a href="{$seoHrefStart}Price-ASC{$seoHrefEnd}">Price Ascending</a>
<a href="{$seoHrefStart}Price-DESC{$seoHrefEnd}">Price Descending</a>
<a href="{$seoHrefStart}Rating-ASC{$seoHrefEnd}">Rating Ascending</a>
<a href="{$seoHrefStart}Rating-DESC{$seoHrefEnd}">Rating Descending</a>
<a href="{$seoHrefStart}HotelName-ASC{$seoHrefEnd}">HotelName Ascending</a>
<a href="{$seoHrefStart}HotelName-DESC{$seoHrefEnd}">HotelName Descending</a>
</div -->
<!-- Seo Url Div Starts -->
</xsl:template>
<xsl:template match="/xmldoc/outcomes/HotelListingTopSource">
<script type="text/javascript" language="javascript">
<xsl:choose>
<xsl:when test="minPrice != ''">
var priceMinValue = <xsl:value-of select="minPrice"/>;
</xsl:when>
<xsl:otherwise>
var priceMinValue = 0;
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="maxPrice != ''">
var priceMaxValue = <xsl:value-of select="maxPrice"/>;
</xsl:when>
<xsl:otherwise>
var priceMaxValue = 0;
</xsl:otherwise>
</xsl:choose>
var resultCnt = <xsl:value-of select="countHotels"/>;
var ratingVal = <xsl:value-of select="rating"/>;
var imgSrc = '<xsl:value-of select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'resourcesDir']"/>';
</script>
</xsl:template>
<xsl:template match="/xmldoc/parameters">
<xsl:variable name="queryParams">
<xsl:call-template name="replace-string">
<xsl:with-param name="text" select="requestinfo/querystring"></xsl:with-param>
<xsl:with-param name="replace">Rule=47</xsl:with-param>
<xsl:with-param name="with">Rule=48</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="requestUri"><xsl:value-of select="requestinfo/requesturl"/></xsl:variable>
<xsl:variable name="listUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable>
<script type="text/javascript" language="javascript">
var sortyBy = '<xsl:value-of select="orderBy"/>';
var orderBy = '<xsl:value-of select="order"/>';
var startValue = <xsl:value-of select="start"/>;
var endValue = <xsl:value-of select="end"/>;
var listUrl = '<xsl:value-of select="$listUrl"/>';
</script>
</xsl:template>
<xsl:template name="replace-string">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="with"/>
<xsl:choose>
<xsl:when test="contains($text, $replace)">
<xsl:variable name="before" select="substring-before($text, $replace)"/>
<xsl:variable name="after" select="substring-after($text, $replace)"/>
<xsl:variable name="prefix" select="concat($before, $with)"/>
<xsl:value-of select="concat($before,$with,$after)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
hotelListingFilter.MS
view
DIRTY_VER.1
hotelListingFilter.MS
lib_sponsorlinks.I
inner
DIRTY_VER.1
lib_sponsorlinks.I
SourceConfiguration
SourceConfiguration
put
Adchange.I
inner
DIRTY_VER.1
Adchange.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=lib_sponsorlinks.M
false
url
dmnsch
dmnssch
skw
dmnsch
dmnssch
skw
lib_sponsor
1
lib_sponsor
3
sponsored links
url
city
state
country
city
state
country
adsInfo
1
vss
3
adsInfo Source
http://travel.aol.com/destGuide/web?rt=1&id=lib_sponsorlinks.M&minPrice=0&start=1&dmnssch=listings_hotel&end=10&maxPrice=0&orderBy=Price&order=asc&minRate=0&debug=2&userid=-1164168648484328669&Rule=47&country=France&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Paris&cityId=8&skw=Paris&clickstreamid=-1164168648484328671&maxRate=0&city=Paris
adsInfo
url
city
state
country
city
state
country
adsInfo
1
vss
3
adsInfo Source
lib_sponsor
url
dmnsch
dmnssch
skw
dmnsch
dmnssch
skw
lib_sponsor
1
lib_sponsor
3
sponsored links
lib_sponsor
adsInfo
defaultController
lib_sponsorlinks.M
module
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<!-- start : sponsored links horizontal templates -->
<xsl:template name="lib_sponsor_horizontal">
<xsl:choose>
<xsl:when test="count( //xmldoc/outcomes/google_common_module/results/item/result_page )>= 0 ">
<div id="googletest">
<xsl:value-of select="/xmldoc/outcomes/google_common_module/results/item/result_page" disable-output-escaping="yes"/>
<dummy/>
</div>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
<!-- end :sponsored link vertical -->
</xsl:template>
</xsl:stylesheet>
DIRTY_VER.1
lib_sponsorlinks.M
lib_sponsorlinks.MS
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<!-- start : sponsored links horizontal templates -->
<xsl:template name="lib_sponsor_horizontal">
<xsl:choose>
<xsl:when test="count( //xmldoc/outcomes/google_common_module/results/item/result_page )>= 0 ">
<div id="googletest">
<xsl:value-of select="/xmldoc/outcomes/google_common_module/results/item/result_page" disable-output-escaping="yes"/>
<dummy/>
</div>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
<!-- end :sponsored link vertical -->
</xsl:template>
</xsl:stylesheet>
lib_sponsorlinks.MS
view
DIRTY_VER.1
lib_sponsorlinks.MS
false
false
http://travel.aol.com/destGuide/web?rt=1&id=omniture.M
false
http://travel.aol.com/destGuide/web?rt=1&id=omniture.M&minPrice=0&start=1&dmnssch=listings_hotel&end=10&maxPrice=0&orderBy=Price&order=asc&minRate=0&debug=2&userid=-1164168648484328669&Rule=47&country=France&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Paris&cityId=8&skw=Paris&clickstreamid=-1164168648484328671&maxRate=0&city=Paris
defaultController
omniture.M
module
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<!-- start : omniture module -->
<xsl:template name="omnitureCode">
<xsl:param name="omniPageType"/>
<xsl:param name="omniCityState"/>
<xsl:param name="omnivar10"/>
<xsl:variable name="omniCityStateInfo">
<xsl:choose>
<xsl:when test="$omnivar10 = 'T'">
<xsl:value-of select="$omniCityState"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
<!-- xsl:when test="$omnivar10 = 'T'"><xsl:value-of select="$omniCityState"/></xsl:when -->
</xsl:variable>
<xsl:variable name="omniSearchTerm"><xsl:value-of select="/xmldoc/parameters/query"/></xsl:variable>
<script language="JavaScript">var s_account="aoltravel,aolsvc";</script>
<script language="javascript" type="text/javascript" src="http://o.aolcdn.com/omniunih.js">omni</script>
<script language="JavaScript">
s_265.campaign="";
s_265.channel="us.travel"
s_265.pfxID="trv";
s_265.server="travel.aol.com";
s_265.linkInternalFilters="javascript:,aol.com,travel,lmdeal";
s_265.pageType="";
s_265.prop1=s_265.pfxID + ": Destination Guides";
s_265.prop2=s_265.pfxID + '<xsl:text>: DG </xsl:text><xsl:value-of select="$omniPageType"/>';
s_265.prop3="";
s_265.prop4="";
s_265.prop5="";
s_265.prop6="";
s_265.prop7="";
s_265.prop8="";
s_265.prop9="";
s_265.prop10="";
s_265.prop11="";
s_265.prop12=window.location;
s_265.prop13="";
<!-- s_265.prop18= "<xsl:value-of select='$omniSearchTerm'/>"; -->
s_265.prop18=readCookieVal('searchTermDG');
s_265.prop18=s_265.prop18.toLowerCase();
s_265.prop20="<xsl:value-of select='$omniCityState'/>";
s_265.pageName=s_265.pfxID + "<xsl:text>: </xsl:text><xsl:value-of select='$omniCityState'/><xsl:text> </xsl:text><xsl:value-of select='$omniPageType'/>";
s_265.eVar1="";
s_265.eVar2="";
s_265.eVar3="";
s_265.eVar4="";
s_265.eVar5="";
s_265.eVar6="";
s_265.eVar10="<xsl:value-of select='$omniCityStateInfo'/>";
s_265.campaign="";
s_265.state="";
s_265.zip="";
s_265.purchaseID="";
//alert('s_265.prop12: ' + s_265.prop12 + '\n' + 's_265.prop1: ' + s_265.prop1 + '\n' + 's_265.prop2: ' + s_265.prop2 + '\n' + 's_265.prop18: ' + s_265.prop18 + '\n' + 's_265.prop20 :' + s_265.prop20 + '\n' + 's_265.pageName: ' + s_265.pageName + '\n' + 's_265.eVar10: ' + s_265.eVar10);
var s_code=s_265.t();if(s_code)document.write(s_code)
</script>
<script language="JavaScript">
<xsl:text disable-output-escaping="yes" >
if(navigator.appVersion.indexOf('MSIE') >= 0){
document.write(unescape('%3C')+'\!-'+'-');
}
</xsl:text>
</script><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.1. -->
<!-- end :omniture module ends here -->
<!-- starts: RSI behavior tracking -->
<script> </script>
<script type="text/javascript" src="http://o.aolcdn.com/art/_media/channels/dm_client_aol.js">rsi</script>
<!-- The escape values below would need to be dynamically populated with the same values that you are passing into the corresponding Omniture variables -->
<script xmlns:travel="aol.com/travel" language="JavaScript">
DM_addToLoc("s_pageName", escape(s_265.pageName));
DM_addToLoc("s_channel", escape("us.travel"));
DM_addToLoc("s_pfxID", escape("trv"));
DM_addToLoc("s_account", escape("aoltravel,aolsvc"));
DM_addToLoc("s_prop1", escape(s_265.prop1));
DM_addToLoc("s_prop2", escape(s_265.prop2));
DM_addToLoc("s_prop4", escape("938447246"));
DM_addToLoc("s_prop8", escape("broadband"));
DM_addToLoc("s_prop10", escape("4184"));
DM_addToLoc("s_prop19", escape("AOL Client"));
DM_tag();
</script>
<script type="text/javascript" src="http://js.revsci.net/gateway/gw.js?csid=J05532'CHARSET='ISO-8859-1">rsi</script>
<!-- end: RSI behavior tracking -->
</xsl:template>
</xsl:stylesheet>
DIRTY_VER.1
omniture.M
omniture.MS
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<!-- start : omniture module -->
<xsl:template name="omnitureCode">
<xsl:param name="omniPageType"/>
<xsl:param name="omniCityState"/>
<xsl:param name="omnivar10"/>
<xsl:variable name="omniCityStateInfo">
<xsl:choose>
<xsl:when test="$omnivar10 = 'T'">
<xsl:value-of select="$omniCityState"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
<!-- xsl:when test="$omnivar10 = 'T'"><xsl:value-of select="$omniCityState"/></xsl:when -->
</xsl:variable>
<xsl:variable name="omniSearchTerm"><xsl:value-of select="/xmldoc/parameters/query"/></xsl:variable>
<script language="JavaScript">var s_account="aoltravel,aolsvc";</script>
<script language="javascript" type="text/javascript" src="http://o.aolcdn.com/omniunih.js">omni</script>
<script language="JavaScript">
s_265.campaign="";
s_265.channel="us.travel"
s_265.pfxID="trv";
s_265.server="travel.aol.com";
s_265.linkInternalFilters="javascript:,aol.com,travel,lmdeal";
s_265.pageType="";
s_265.prop1=s_265.pfxID + ": Destination Guides";
s_265.prop2=s_265.pfxID + '<xsl:text>: DG </xsl:text><xsl:value-of select="$omniPageType"/>';
s_265.prop3="";
s_265.prop4="";
s_265.prop5="";
s_265.prop6="";
s_265.prop7="";
s_265.prop8="";
s_265.prop9="";
s_265.prop10="";
s_265.prop11="";
s_265.prop12=window.location;
s_265.prop13="";
<!-- s_265.prop18= "<xsl:value-of select='$omniSearchTerm'/>"; -->
s_265.prop18=readCookieVal('searchTermDG');
s_265.prop18=s_265.prop18.toLowerCase();
s_265.prop20="<xsl:value-of select='$omniCityState'/>";
s_265.pageName=s_265.pfxID + "<xsl:text>: </xsl:text><xsl:value-of select='$omniCityState'/><xsl:text> </xsl:text><xsl:value-of select='$omniPageType'/>";
s_265.eVar1="";
s_265.eVar2="";
s_265.eVar3="";
s_265.eVar4="";
s_265.eVar5="";
s_265.eVar6="";
s_265.eVar10="<xsl:value-of select='$omniCityStateInfo'/>";
s_265.campaign="";
s_265.state="";
s_265.zip="";
s_265.purchaseID="";
//alert('s_265.prop12: ' + s_265.prop12 + '\n' + 's_265.prop1: ' + s_265.prop1 + '\n' + 's_265.prop2: ' + s_265.prop2 + '\n' + 's_265.prop18: ' + s_265.prop18 + '\n' + 's_265.prop20 :' + s_265.prop20 + '\n' + 's_265.pageName: ' + s_265.pageName + '\n' + 's_265.eVar10: ' + s_265.eVar10);
var s_code=s_265.t();if(s_code)document.write(s_code)
</script>
<script language="JavaScript">
<xsl:text disable-output-escaping="yes" >
if(navigator.appVersion.indexOf('MSIE') >= 0){
document.write(unescape('%3C')+'\!-'+'-');
}
</xsl:text>
</script><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.1. -->
<!-- end :omniture module ends here -->
<!-- starts: RSI behavior tracking -->
<script> </script>
<script type="text/javascript" src="http://o.aolcdn.com/art/_media/channels/dm_client_aol.js">rsi</script>
<!-- The escape values below would need to be dynamically populated with the same values that you are passing into the corresponding Omniture variables -->
<script xmlns:travel="aol.com/travel" language="JavaScript">
DM_addToLoc("s_pageName", escape(s_265.pageName));
DM_addToLoc("s_channel", escape("us.travel"));
DM_addToLoc("s_pfxID", escape("trv"));
DM_addToLoc("s_account", escape("aoltravel,aolsvc"));
DM_addToLoc("s_prop1", escape(s_265.prop1));
DM_addToLoc("s_prop2", escape(s_265.prop2));
DM_addToLoc("s_prop4", escape("938447246"));
DM_addToLoc("s_prop8", escape("broadband"));
DM_addToLoc("s_prop10", escape("4184"));
DM_addToLoc("s_prop19", escape("AOL Client"));
DM_tag();
</script>
<script type="text/javascript" src="http://js.revsci.net/gateway/gw.js?csid=J05532'CHARSET='ISO-8859-1">rsi</script>
<!-- end: RSI behavior tracking -->
</xsl:template>
</xsl:stylesheet>
omniture.MS
view
DIRTY_VER.1
omniture.MS
google_common_module.I
inner
DIRTY_VER.1
google_common_module.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=google_common_module.M
false
url
dmnsch
dmnssch
skw
gls_limit
layer_width
dmnsch
dmnssch
skw
gls_limit
layer_width
google_common_module
1
vss
3
s_common_module Source
http://travel.aol.com/destGuide/web?rt=1&id=google_common_module.M&minPrice=0&start=1&dmnssch=listings_hotel&end=10&maxPrice=0&orderBy=Price&order=asc&minRate=0&debug=2&userid=-1164168648484328669&Rule=47&country=France&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Paris&cityId=8&skw=Paris&clickstreamid=-1164168648484328671&maxRate=0&city=Paris
google_common_module
url
dmnsch
dmnssch
skw
gls_limit
layer_width
dmnsch
dmnssch
skw
gls_limit
layer_width
google_common_module
1
vss
3
s_common_module Source
google_common_module
defaultController
google_common_module.M
module
DIRTY_VER.1
google_common_module.M
hotelList.I
inner
DIRTY_VER.1
hotelList.I
SourceConfiguration
SourceConfiguration
put
Adchange.I
inner
DIRTY_VER.1
Adchange.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=hotelList.M
false
url
cityId
city
state
country
start
end
minPrice
maxPrice
minRate
maxRate
orderBy
order
cityId
city
state
country
start
end
minPrice
maxPrice
minRate
maxRate
orderBy
order
HotelListingSource
1
vss
3
VSS HotelListingSource Source
url
city
state
country
city
state
country
adsInfo
1
vss
3
adsInfo Source
http://travel.aol.com/destGuide/web?rt=1&id=hotelList.M&minPrice=0&start=1&dmnssch=listings_hotel&end=10&maxPrice=0&orderBy=Price&order=asc&minRate=0&debug=2&userid=-1164168648484328669&Rule=47&country=France&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Paris&cityId=8&skw=Paris&clickstreamid=-1164168648484328671&maxRate=0&city=Paris
adsInfo
url
city
state
country
city
state
country
adsInfo
1
vss
3
adsInfo Source
HotelListingSource
url
cityId
city
state
country
start
end
minPrice
maxPrice
minRate
maxRate
orderBy
order
cityId
city
state
country
start
end
minPrice
maxPrice
minRate
maxRate
orderBy
order
HotelListingSource
1
vss
3
VSS HotelListingSource Source
HotelListingSource
adsInfo
defaultController
hotelList.M
module
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<xsl:variable name="hotelsCount"><xsl:value-of select="/xmldoc/outcomes/HotelListingSource/countHotels"/></xsl:variable>
<xsl:variable name="requestUri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" />
<xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" />
<xsl:variable name="cityName">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/city"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="stateName">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/state"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="countryName">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/country"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="cityId" select="/xmldoc/parameters/cityId" />
<xsl:template match="/xmldoc/outcomes/HotelListingSource">
<script type="text/javascript" language="javascript">
var resultCnt = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/countHotels"/>;
var startVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/start"/>;
var endVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/end"/>;
var request_uri = "<xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/>";
var query_param = "<xsl:value-of select='/xmldoc/parameters/requestinfo/querystring'/>";
var requestURI = "<xsl:value-of select='$requestUri' />";
var serverName = "<xsl:value-of select='/xmldoc/parameters/requestinfo/servername' />";
var paginStr = getPaginationStr(resultCnt,startVal,endVal,request_uri,query_param, serverName, requestURI);
</script>
<xsl:variable name="requestUrl"><xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/></xsl:variable>
<xsl:variable name="queryVal"><xsl:value-of select="/xmldoc/parameters/query"/></xsl:variable>
<xsl:variable name="lowerCaseLetters">abcdefghijklmnopqrstuvwxyz</xsl:variable>
<xsl:variable name="upperCaseLetters">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
<xsl:variable name="state_name" >
<xsl:if test="/xmldoc/parameters/country = 'United States'">
<xsl:value-of select="translate(/xmldoc/outcomes/adsInfo/results/item/state, $lowerCaseLetters, $upperCaseLetters)"/>
</xsl:if>
</xsl:variable>
<xsl:for-each select="/xmldoc/outcomes/HotelListingSource/results/item">
<xsl:variable name="hotelId"><xsl:value-of select="NTMHotelID" /></xsl:variable>
<xsl:variable name="hotel_name"><xsl:value-of select="HotelName" /></xsl:variable>
<xsl:variable name="hotel_name_for_url1">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="HotelName"/>
</xsl:with-param>
<xsl:with-param name="replace">-</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url2">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url1"/>
</xsl:with-param>
<xsl:with-param name="replace">^</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url3">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url2"/>
</xsl:with-param>
<xsl:with-param name="replace">#</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url4">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url3"/>
</xsl:with-param>
<xsl:with-param name="replace">!</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url5">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url4"/>
</xsl:with-param>
<xsl:with-param name="replace">~</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url6">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url5"/>
</xsl:with-param>
<xsl:with-param name="replace">&</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url6"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotelDetLink">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':', $hotelId,'-hotel-detail')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':', $hotelId,'-hotel-detail')" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="hotelDetReviewLink">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':reviews:', $hotelId,'-hotel-map-detail')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':reviews:', $hotelId,'-hotel-map-detail')" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="imgUrl">
<xsl:choose>
<xsl:when test="ImageURL != '' ">
<xsl:value-of select="ImageURL"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>{$docRootSubDir}/img/hotel_blank_img.gif</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<div id="hotelInfodiv">
<div id="serialNo">
<xsl:call-template name="serialNo">
<xsl:with-param name="startNo"><xsl:value-of select="/xmldoc/outcomes/HotelListingSource/start" /></xsl:with-param>
<xsl:with-param name="position"><xsl:value-of select="position()"/></xsl:with-param>
</xsl:call-template>
</div>
<div id="imgAndContent">
<xsl:if test="string-length(ImageURL) > 0">
<div id="hotelImg">
<a href="{$hotelDetLink}" title="{$hotel_name} - Features"><img src="{$imgUrl}" alt="{$hotel_name}" title="{$hotel_name}" width="80" height="60"/></a>
</div>
</xsl:if>
<div id="contentAfterImg">
<div id="hotelName">
<a href="{$hotelDetLink}" title="{$hotel_name} - Features"><xsl:value-of select="HotelName"/></a>
</div>
<xsl:variable name="zip_code">
<xsl:if test="Zip != ''">
<xsl:choose>
<xsl:when test="Country = 'United States'">
<xsl:text>, </xsl:text><xsl:value-of select="Zip"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text><xsl:value-of select="Zip"/>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:variable>
<xsl:if test="string-length(Address1) > 0">
<div id="hotelAddr">
<xsl:value-of select="Address1"/>
</div>
</xsl:if>
<div id="hotelCity">
<xsl:choose>
<xsl:when test="Country = 'United States'">
<xsl:choose>
<xsl:when test="$state_name != ''">
<xsl:value-of select="CityName"/>, <xsl:value-of select="$state_name"/><xsl:value-of select="$zip_code"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="CityName"/><xsl:value-of select="$zip_code"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="CityName"/>, <xsl:value-of select="Country"/><xsl:value-of select="$zip_code"/>
</xsl:otherwise>
</xsl:choose>
</div>
<xsl:if test="string-length(Phone) > 0">
<div id="hotelPhone">
<xsl:choose>
<xsl:when test="Country = 'United States'">
<xsl:choose>
<xsl:when test="string-length(PhoneAC) > 0">
<xsl:text>(</xsl:text><xsl:value-of select="PhoneAC"/><xsl:text>) </xsl:text><xsl:value-of select="Phone"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Phone"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="string-length(PhoneAC) > 0">
<xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" /><xsl:text>) </xsl:text><xsl:value-of select="PhoneAC" />-<xsl:value-of select="Phone"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" />) <xsl:value-of select="Phone"/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</div>
</xsl:if>
<div id="hotelDetailsLink">
<a href="{$hotelDetLink}" title="{$hotel_name} - Details">Hotel Details</a>
</div>
</div>
</div>
<div id="ratingContentRight">
<xsl:choose>
<xsl:when test="string-length(Rating) > 0">
<div id="userRatings"><a href="{$hotelDetReviewLink}" title="{$hotel_name} - Review">User Ratings</a></div>
<div id="ratingImg">
<xsl:call-template name="starRatingLoop">
<xsl:with-param name="rating">
<xsl:value-of select="Rating"/>
</xsl:with-param>
<xsl:with-param name="count">1</xsl:with-param>
</xsl:call-template>
</div>
</xsl:when>
<xsl:otherwise>
<div id="userRatings"><a href="{$hotelDetReviewLink}" title="{$hotel_name} - Be First to Write a Review">No User Rating Available</a></div>
</xsl:otherwise>
</xsl:choose>
<div id="Rates">
<a href="{$hotelDetLink}" title="{$hotel_name} - Features">
<xsl:choose>
<xsl:when test="string-length(Price) > 0">
Rates from $<b><xsl:value-of select="round(Price)"/></b>
</xsl:when>
<xsl:otherwise>
No Price Available
</xsl:otherwise>
</xsl:choose>
</a>
</div>
</div>
</div>
</xsl:for-each>
<!-- Paginaton Div Starts -->
<div id="paginationDiv">
<script type="text/javascript" language="javascript">
var displaystr = "<b>"+ resultCnt+ " Hotels</b>: "+ paginStr;
document.getElementById('paginationDiv').innerHTML = displaystr;
</script>
</div>
<!-- Paginaton Div Ends -->
<script language="javascript" type="text/javascript">
document.getElementById('countNumber').innerHTML = <xsl:value-of select="$hotelsCount" />;
</script>
<noscript>
<div>
<xsl:variable name="startVal" select="/xmldoc/parameters/start" />
<xsl:variable name="orderByVal" select="/xmldoc/parameters/orderBy" />
<xsl:variable name="orderVal" select="/xmldoc/parameters/order" />
<xsl:call-template name="xslPagination">
<xsl:with-param name="pageNum" select="ceiling($startVal div 10)" />
<xsl:with-param name="noOfRecords" select="10" />
<xsl:with-param name="href_start">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, ':' )" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $cityName, '-', $countryName, ':', $cityId, ':')" />
</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
<xsl:with-param name="href_end">-hotellisting</xsl:with-param>
</xsl:call-template>
</div>
</noscript>
</xsl:template>
<xsl:template name="starRatingLoop">
<xsl:param name="rating"/>
<xsl:param name="count"/>
<xsl:if test="$count < 6">
<xsl:if test="floor($rating) >= $count">
<img src="{$docRootSubDir}/img/filled_star.gif" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) = $count and ($rating*10 mod 10) != 0">
<img src="{$docRootSubDir}/img/halffilled_star.gif" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) < $count">
<img src="{$docRootSubDir}/img/unfilled_star.gif" alt=""/>
</xsl:if>
<xsl:call-template name="starRatingLoop">
<xsl:with-param name="rating" select="$rating"/>
<xsl:with-param name="count" select="$count+1"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="replace_charList">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="with"/>
<xsl:choose>
<xsl:when test="contains($text, $replace)">
<xsl:value-of select="substring-before($text, $replace)"/>
<xsl:value-of select="$with"/>
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="substring-after($text, $replace)"/>
</xsl:with-param>
<xsl:with-param name="replace">
<xsl:value-of select="$replace"/>
</xsl:with-param>
<xsl:with-param name="with">
<xsl:value-of select="$with"/>
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="serialNo">
<xsl:param name="startNo" />
<xsl:param name="position" />
<xsl:value-of select="$startNo - 1 + $position" /><xsl:text>.</xsl:text>
</xsl:template>
<xsl:template name="xslPagination">
<xsl:param name='pageNum' />
<xsl:param name='noOfRecords' />
<xsl:param name='href_start' />
<xsl:param name='href_end' />
<xsl:variable name='numOfPages' select='ceiling($hotelsCount div $noOfRecords)' />
<xsl:variable name='prevStartVal' select="((($pageNum - 1) - 1) * $noOfRecords) + 1"/>
<xsl:variable name='prevEndVal' select="((($pageNum - 1) - 1) * $noOfRecords) + 10"/>
<xsl:variable name='nextStartVal' select="((($pageNum - 1) + 1) * $noOfRecords) + 1"/>
<xsl:variable name='nextEndVal' select="((($pageNum - 1) + 1) * $noOfRecords) + 10"/>
<!-- Previous link for pagination starts -->
<xsl:if test="$pageNum > 1"> 
<a><xsl:attribute name="href">
<xsl:value-of select="concat($href_start, $prevStartVal, ':', $prevEndVal, $href_end)" />
</xsl:attribute><<Prev</a>
</xsl:if>
<!-- Previous link for pagination ends -->
<xsl:value-of select="((($pageNum - 1) * 10) + 1)" /> - <xsl:value-of select="($pageNum * 10)" /> of <xsl:value-of select="$hotelsCount" />
<!-- Next link for pagination starts -->
<xsl:if test="number($pageNum)+1 <= number($numOfPages)"> 
<a><xsl:attribute name="href">
<xsl:value-of select="concat($href_start, $nextStartVal, ':', $nextEndVal, $href_end)" />
</xsl:attribute>Next>></a>
</xsl:if>
<!-- Next link for pagination ends -->
</xsl:template>
</xsl:stylesheet>
DIRTY_VER.1
hotelList.M
hotelList.MS
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<xsl:variable name="hotelsCount"><xsl:value-of select="/xmldoc/outcomes/HotelListingSource/countHotels"/></xsl:variable>
<xsl:variable name="requestUri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" />
<xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" />
<xsl:variable name="cityName">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/city"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="stateName">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/state"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="countryName">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/country"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="cityId" select="/xmldoc/parameters/cityId" />
<xsl:template match="/xmldoc/outcomes/HotelListingSource">
<script type="text/javascript" language="javascript">
var resultCnt = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/countHotels"/>;
var startVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/start"/>;
var endVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/end"/>;
var request_uri = "<xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/>";
var query_param = "<xsl:value-of select='/xmldoc/parameters/requestinfo/querystring'/>";
var requestURI = "<xsl:value-of select='$requestUri' />";
var serverName = "<xsl:value-of select='/xmldoc/parameters/requestinfo/servername' />";
var paginStr = getPaginationStr(resultCnt,startVal,endVal,request_uri,query_param, serverName, requestURI);
</script>
<xsl:variable name="requestUrl"><xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/></xsl:variable>
<xsl:variable name="queryVal"><xsl:value-of select="/xmldoc/parameters/query"/></xsl:variable>
<xsl:variable name="lowerCaseLetters">abcdefghijklmnopqrstuvwxyz</xsl:variable>
<xsl:variable name="upperCaseLetters">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
<xsl:variable name="state_name" >
<xsl:if test="/xmldoc/parameters/country = 'United States'">
<xsl:value-of select="translate(/xmldoc/outcomes/adsInfo/results/item/state, $lowerCaseLetters, $upperCaseLetters)"/>
</xsl:if>
</xsl:variable>
<xsl:for-each select="/xmldoc/outcomes/HotelListingSource/results/item">
<xsl:variable name="hotelId"><xsl:value-of select="NTMHotelID" /></xsl:variable>
<xsl:variable name="hotel_name"><xsl:value-of select="HotelName" /></xsl:variable>
<xsl:variable name="hotel_name_for_url1">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="HotelName"/>
</xsl:with-param>
<xsl:with-param name="replace">-</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url2">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url1"/>
</xsl:with-param>
<xsl:with-param name="replace">^</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url3">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url2"/>
</xsl:with-param>
<xsl:with-param name="replace">#</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url4">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url3"/>
</xsl:with-param>
<xsl:with-param name="replace">!</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url5">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url4"/>
</xsl:with-param>
<xsl:with-param name="replace">~</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url6">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url5"/>
</xsl:with-param>
<xsl:with-param name="replace">&</xsl:with-param>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotel_name_for_url">
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="$hotel_name_for_url6"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="hotelDetLink">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':', $hotelId,'-hotel-detail')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':', $hotelId,'-hotel-detail')" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="hotelDetReviewLink">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':reviews:', $hotelId,'-hotel-map-detail')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':reviews:', $hotelId,'-hotel-map-detail')" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="imgUrl">
<xsl:choose>
<xsl:when test="ImageURL != '' ">
<xsl:value-of select="ImageURL"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>{$docRootSubDir}/img/hotel_blank_img.gif</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<div id="hotelInfodiv">
<div id="serialNo">
<xsl:call-template name="serialNo">
<xsl:with-param name="startNo"><xsl:value-of select="/xmldoc/outcomes/HotelListingSource/start" /></xsl:with-param>
<xsl:with-param name="position"><xsl:value-of select="position()"/></xsl:with-param>
</xsl:call-template>
</div>
<div id="imgAndContent">
<xsl:if test="string-length(ImageURL) > 0">
<div id="hotelImg">
<a href="{$hotelDetLink}" title="{$hotel_name} - Features"><img src="{$imgUrl}" alt="{$hotel_name}" title="{$hotel_name}" width="80" height="60"/></a>
</div>
</xsl:if>
<div id="contentAfterImg">
<div id="hotelName">
<a href="{$hotelDetLink}" title="{$hotel_name} - Features"><xsl:value-of select="HotelName"/></a>
</div>
<xsl:variable name="zip_code">
<xsl:if test="Zip != ''">
<xsl:choose>
<xsl:when test="Country = 'United States'">
<xsl:text>, </xsl:text><xsl:value-of select="Zip"/>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text><xsl:value-of select="Zip"/>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:variable>
<xsl:if test="string-length(Address1) > 0">
<div id="hotelAddr">
<xsl:value-of select="Address1"/>
</div>
</xsl:if>
<div id="hotelCity">
<xsl:choose>
<xsl:when test="Country = 'United States'">
<xsl:choose>
<xsl:when test="$state_name != ''">
<xsl:value-of select="CityName"/>, <xsl:value-of select="$state_name"/><xsl:value-of select="$zip_code"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="CityName"/><xsl:value-of select="$zip_code"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="CityName"/>, <xsl:value-of select="Country"/><xsl:value-of select="$zip_code"/>
</xsl:otherwise>
</xsl:choose>
</div>
<xsl:if test="string-length(Phone) > 0">
<div id="hotelPhone">
<xsl:choose>
<xsl:when test="Country = 'United States'">
<xsl:choose>
<xsl:when test="string-length(PhoneAC) > 0">
<xsl:text>(</xsl:text><xsl:value-of select="PhoneAC"/><xsl:text>) </xsl:text><xsl:value-of select="Phone"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Phone"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="string-length(PhoneAC) > 0">
<xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" /><xsl:text>) </xsl:text><xsl:value-of select="PhoneAC" />-<xsl:value-of select="Phone"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" />) <xsl:value-of select="Phone"/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</div>
</xsl:if>
<div id="hotelDetailsLink">
<a href="{$hotelDetLink}" title="{$hotel_name} - Details">Hotel Details</a>
</div>
</div>
</div>
<div id="ratingContentRight">
<xsl:choose>
<xsl:when test="string-length(Rating) > 0">
<div id="userRatings"><a href="{$hotelDetReviewLink}" title="{$hotel_name} - Review">User Ratings</a></div>
<div id="ratingImg">
<xsl:call-template name="starRatingLoop">
<xsl:with-param name="rating">
<xsl:value-of select="Rating"/>
</xsl:with-param>
<xsl:with-param name="count">1</xsl:with-param>
</xsl:call-template>
</div>
</xsl:when>
<xsl:otherwise>
<div id="userRatings"><a href="{$hotelDetReviewLink}" title="{$hotel_name} - Be First to Write a Review">No User Rating Available</a></div>
</xsl:otherwise>
</xsl:choose>
<div id="Rates">
<a href="{$hotelDetLink}" title="{$hotel_name} - Features">
<xsl:choose>
<xsl:when test="string-length(Price) > 0">
Rates from $<b><xsl:value-of select="round(Price)"/></b>
</xsl:when>
<xsl:otherwise>
No Price Available
</xsl:otherwise>
</xsl:choose>
</a>
</div>
</div>
</div>
</xsl:for-each>
<!-- Paginaton Div Starts -->
<div id="paginationDiv">
<script type="text/javascript" language="javascript">
var displaystr = "<b>"+ resultCnt+ " Hotels</b>: "+ paginStr;
document.getElementById('paginationDiv').innerHTML = displaystr;
</script>
</div>
<!-- Paginaton Div Ends -->
<script language="javascript" type="text/javascript">
document.getElementById('countNumber').innerHTML = <xsl:value-of select="$hotelsCount" />;
</script>
<noscript>
<div>
<xsl:variable name="startVal" select="/xmldoc/parameters/start" />
<xsl:variable name="orderByVal" select="/xmldoc/parameters/orderBy" />
<xsl:variable name="orderVal" select="/xmldoc/parameters/order" />
<xsl:call-template name="xslPagination">
<xsl:with-param name="pageNum" select="ceiling($startVal div 10)" />
<xsl:with-param name="noOfRecords" select="10" />
<xsl:with-param name="href_start">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, ':' )" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $cityName, '-', $countryName, ':', $cityId, ':')" />
</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
<xsl:with-param name="href_end">-hotellisting</xsl:with-param>
</xsl:call-template>
</div>
</noscript>
</xsl:template>
<xsl:template name="starRatingLoop">
<xsl:param name="rating"/>
<xsl:param name="count"/>
<xsl:if test="$count < 6">
<xsl:if test="floor($rating) >= $count">
<img src="{$docRootSubDir}/img/filled_star.gif" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) = $count and ($rating*10 mod 10) != 0">
<img src="{$docRootSubDir}/img/halffilled_star.gif" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) < $count">
<img src="{$docRootSubDir}/img/unfilled_star.gif" alt=""/>
</xsl:if>
<xsl:call-template name="starRatingLoop">
<xsl:with-param name="rating" select="$rating"/>
<xsl:with-param name="count" select="$count+1"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="replace_charList">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="with"/>
<xsl:choose>
<xsl:when test="contains($text, $replace)">
<xsl:value-of select="substring-before($text, $replace)"/>
<xsl:value-of select="$with"/>
<xsl:call-template name="replace_charList">
<xsl:with-param name="text">
<xsl:value-of select="substring-after($text, $replace)"/>
</xsl:with-param>
<xsl:with-param name="replace">
<xsl:value-of select="$replace"/>
</xsl:with-param>
<xsl:with-param name="with">
<xsl:value-of select="$with"/>
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="serialNo">
<xsl:param name="startNo" />
<xsl:param name="position" />
<xsl