1
0
1
1
1
http://travel.aol.com/travel/AdMagicServlet?&query=Jaco&start=1&num=10&page=1&country=Costa+Rica&state=&city=Jaco
-
centam
costa_rica
http://information.travel.aol.com/travel-guide/mexico-and-caribbean/costa-rica
1
0
1
1
1
3
98
90
false
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=89fKHO7UDiSViyuJlHRxiXog&ai=0&dt=1219372049705&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBCFEHESSuSMnqOonsnQbyrOSaAousv0XPmsz0BcCNtwHgpxIQARgBIN_WjwYoBTgAUKnY59f8_____wFgyYaAgNwjoAGtnqT9A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-AAgGoAwHoA80E6APwBugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.costalandsales.com%2FPredevprices%2F%26client%3Dca-aol-service_traveldestination_xml&cs=Njb%2F7%2BnT%2BVjCKNmrTsMTk%2FlnZUQ%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>Jaco</b> Properties</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">New Homes, Pre-Development Prices.</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=89fKHO7UDiSViyuJlHRxiXog&ai=0&dt=1219372049705&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBCFEHESSuSMnqOonsnQbyrOSaAousv0XPmsz0BcCNtwHgpxIQARgBIN_WjwYoBTgAUKnY59f8_____wFgyYaAgNwjoAGtnqT9A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-AAgGoAwHoA80E6APwBugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.costalandsales.com%2FPredevprices%2F%26client%3Dca-aol-service_traveldestination_xml&cs=Njb%2F7%2BnT%2BVjCKNmrTsMTk%2FlnZUQ%3D" target="_blank">www.CostaLandSales.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=89fKHO7UDiSViyuJlHRxiXog&ai=1&dt=1219372049705&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBp3J2ESSuSMnqOonsnQbyrOSaArjywzjsrci2BMCNtwHA_BUQAhgCIN_WjwYoBTgAUIX8-sT-_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAagDAegDzQToA_AG6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.costa-rica-property-sales.com%2FJaco-Beach-Real-Estate%26client%3Dca-aol-service_traveldestination_xml&cs=Et7LvNwXcBg1qOBxX2B78rHAwpk%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">
Costa Rica Real Estate</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;"><b>Jaco</b>, Punta Leona, Los Suenos</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=89fKHO7UDiSViyuJlHRxiXog&ai=1&dt=1219372049705&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBp3J2ESSuSMnqOonsnQbyrOSaArjywzjsrci2BMCNtwHA_BUQAhgCIN_WjwYoBTgAUIX8-sT-_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAagDAegDzQToA_AG6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.costa-rica-property-sales.com%2FJaco-Beach-Real-Estate%26client%3Dca-aol-service_traveldestination_xml&cs=Et7LvNwXcBg1qOBxX2B78rHAwpk%3D" target="_blank">www.costa-rica-property-sales.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=89fKHO7UDiSViyuJlHRxiXog&ai=2&dt=1219372049705&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBOtVRESSuSMnqOonsnQbyrOSaAsrGqWrcjfvcA8CNtwGAxBMQAxgDIN_WjwYoBTgAUNKtpZ34_____wFgyYaAgNwjoAHVkbv_A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-AAgGoAwHoA80E6APwBugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fcosta-rica.caribbeanway.com%2Fhome.asp%253Fsrc%253DGoogle-Adwords-Content%2526ggkey%253Dcontent_CostaRica_US%26client%3Dca-aol-service_traveldestination_xml&cs=imyRt3a1JhpyFt%2B9iFnfpzsRIBI%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">
Costa Rica Villas</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Find Villas for Rent in Costa Rica.</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=89fKHO7UDiSViyuJlHRxiXog&ai=2&dt=1219372049705&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBOtVRESSuSMnqOonsnQbyrOSaAsrGqWrcjfvcA8CNtwGAxBMQAxgDIN_WjwYoBTgAUNKtpZ34_____wFgyYaAgNwjoAHVkbv_A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-AAgGoAwHoA80E6APwBugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fcosta-rica.caribbeanway.com%2Fhome.asp%253Fsrc%253DGoogle-Adwords-Content%2526ggkey%253Dcontent_CostaRica_US%26client%3Dca-aol-service_traveldestination_xml&cs=imyRt3a1JhpyFt%2B9iFnfpzsRIBI%3D" target="_blank">Costa-Rica.CaribbeanWay.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=89fKHO7UDiSViyuJlHRxiXog&ai=3&dt=1219372049705&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBGKdOESSuSMnqOonsnQbyrOSaAobz8lLQi8rvBcCNtwGw2wYQBBgEIN_WjwYoBTgAUNba-GpgyYaAgNwjoAGY0774A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-AAgHIAviwgwWoAwHoA80E6APwBugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D4%26ggladgrp%3D1255296524610962102%26gglcreat%3D16206308568976675165%26adurl%3Dhttp%3A%2F%2Fwww.LatinAmericanCupid.com%2F%253Fovchn%253DGGL%2526ovcpn%253DEnglish%252BUSA%252BCosta%252BRica%252BWomen%2526ovcrn%253Dcosta%252Brica%252Bwoman%2526ovtac%253DPPC%26client%3Dca-aol-service_traveldestination_xml&cs=02gcz2N5sBxuu2ZXFa245i3tUCs%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">
Costa Rica Woman</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Meet Beautiful Latin Women.</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=89fKHO7UDiSViyuJlHRxiXog&ai=3&dt=1219372049705&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBGKdOESSuSMnqOonsnQbyrOSaAobz8lLQi8rvBcCNtwGw2wYQBBgEIN_WjwYoBTgAUNba-GpgyYaAgNwjoAGY0774A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-AAgHIAviwgwWoAwHoA80E6APwBugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D4%26ggladgrp%3D1255296524610962102%26gglcreat%3D16206308568976675165%26adurl%3Dhttp%3A%2F%2Fwww.LatinAmericanCupid.com%2F%253Fovchn%253DGGL%2526ovcpn%253DEnglish%252BUSA%252BCosta%252BRica%252BWomen%2526ovcrn%253Dcosta%252Brica%252Bwoman%2526ovtac%253DPPC%26client%3Dca-aol-service_traveldestination_xml&cs=02gcz2N5sBxuu2ZXFa245i3tUCs%3D" target="_blank">www.LatinAmericanCupid.com</a>
</div>
</div>
1
0
4
1
4
SC4
http://switcher.dmn.aol.com/sw/a?squery=Jaco&ip=205.188.102.252&sch=ca-aol-service_traveldestination_xml&ssch=listings_hotel&snum=4&skw=Jaco
-
http://switcher.dmn.aol.com/sw/r?ri=88OHmxTtCRTgyO%2Fp1fCyHGAQ&ai=0&dt=1219372049690&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB_VknESSuSKf6NYP6nAanlfiWA4usv0XPmsz0BcCNtwHgpxIQARgBIN_WjwYoBDgAUKnY59f8_____wFgyQagAa2epP0DsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAagDAegDzQToA_AG6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.costalandsales.com%2FPredevprices%2F%26client%3Dca-aol-service_traveldestination_xml&cs=g4ApFO1HS3jT2h%2FOsepsEfXvr6g%3D
ppclick
<b>Jaco</b> Properties
New Homes, Pre-Development Prices.
www.CostaLandSales.com
Retire in Luxury. Learn More Today!
-
http://switcher.dmn.aol.com/sw/r?ri=88OHmxTtCRTgyO%2Fp1fCyHGAQ&ai=1&dt=1219372049690&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBV-lpESSuSKf6NYP6nAanlfiWA7jywzjsrci2BMCNtwHA_BUQAhgCIN_WjwYoBDgAUIX8-sT-_____wFgyQayAQRudWxsyAEB2gEMaHR0cDovL251bGwvgAIBqAMB6APNBOgD8AboA8cE9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.costa-rica-property-sales.com%2FJaco-Beach-Real-Estate%26client%3Dca-aol-service_traveldestination_xml&cs=HW27acbU73%2F%2FWnDQ469Vm6%2BqOUQ%3D
ppclick
Costa Rica Real Estate
<b>Jaco</b>, Punta Leona, Los Suenos
www.costa-rica-property-sales.com
Condos, Homes, Lots For Sale
-
http://switcher.dmn.aol.com/sw/r?ri=88OHmxTtCRTgyO%2Fp1fCyHGAQ&ai=2&dt=1219372049690&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBUnKmESSuSKf6NYP6nAanlfiWA8rGqWrcjfvcA8CNtwGAxBMQAxgDIN_WjwYoBDgAUNKtpZ34_____wFgyQagAdWRu_8DsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAagDAegDzQToA_AG6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fcosta-rica.caribbeanway.com%2Fhome.asp%253Fsrc%253DGoogle-Adwords-Content%2526ggkey%253Dcontent_CostaRica_US%26client%3Dca-aol-service_traveldestination_xml&cs=b6iZPN9FOBx8%2F4ehgN%2BzrAsyq54%3D
ppclick
Costa Rica Villas
Find Villas for Rent in Costa Rica.
Costa-Rica.CaribbeanWay.com
View Photos & Rates Online.
-
http://switcher.dmn.aol.com/sw/r?ri=88OHmxTtCRTgyO%2Fp1fCyHGAQ&ai=3&dt=1219372049690&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB6UjEESSuSKf6NYP6nAanlfiWA4bz8lLQi8rvBcCNtwGw2wYQBBgEIN_WjwYoBDgAUNba-GpgyQagAZjTvvgDsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAcgC-LCDBagDAegDzQToA_AG6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D4%26ggladgrp%3D1255296524610962102%26gglcreat%3D16206308568976675165%26adurl%3Dhttp%3A%2F%2Fwww.LatinAmericanCupid.com%2F%253Fovchn%253DGGL%2526ovcpn%253DEnglish%252BUSA%252BCosta%252BRica%252BWomen%2526ovcrn%253Dcosta%252Brica%252Bwoman%2526ovtac%253DPPC%26client%3Dca-aol-service_traveldestination_xml&cs=JmHziSjrrPQRDVPgQuH5FVpM41A%3D
ppclick
Costa Rica Woman
Meet Beautiful Latin Women.
www.LatinAmericanCupid.com
Browse Photo Profiles. Join Free!
1
0
3
1
3
3
1
10
-
South End of Jaco Beach
Club del Mar Resort
107-4023
643-3194
506
T17827
89.6
Playa Jaco-Garabito
Costa Rica
-
Pastor Diaz Ave
Best Western Jaco Beach Resort
2643-1000
506
247545
98
http://images.leonardo.com/imgs/2/247545/247545_EXT_01_A.jpg
Jaco
Costa Rica
-
Este de la Municipalidad
Hotel Amapola
643-2255
506
R45826
Playa Jaco-Garabito
Costa Rica
Jaco
1
10
Price
1251
-1148393480441948264
web
47
Jaco
Jaco
http
/web
80
travel.aol.com
/destGuide/web
GET
205.188.102.252
-1
eng
HTTP/1.1
USA
/destGuide
http://travel.aol.com/destGuide/web
205.188.102.252
query=Jaco&city=Jaco&state=&country=Costa+Rica&start=1&end=10&minPrice=0&maxPrice=0&minRate=0&maxRate=0&order=asc&orderBy=Price&Rule=47&debug=2&cityId=10006870&dmnsch=ca-aol-service_traveldestination_xml&dmnssch=listings_hotel&skw=Jaco&listing=hotels_direct
-1148393480441948266
0
Jaco
10
0
listings_hotel
Jaco
Jaco
0
asc
0
2
Costa Rica
hotels_direct
ca-aol-service_traveldestination_xml
10006870
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
Jaco
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=-1148393480441948264&Rule=47&country=Costa Rica&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Jaco&cityId=10006870&state=&skw=Jaco&clickstreamid=-1148393480441948266&maxRate=0&city=Jaco
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=-1148393480441948264&Rule=47&country=Costa Rica&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Jaco&cityId=10006870&state=&skw=Jaco&clickstreamid=-1148393480441948266&maxRate=0&city=Jaco
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=-1148393480441948264&Rule=47&country=Costa Rica&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Jaco&cityId=10006870&state=&skw=Jaco&clickstreamid=-1148393480441948266&maxRate=0&city=Jaco
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=-1148393480441948264&Rule=47&country=Costa Rica&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Jaco&cityId=10006870&state=&skw=Jaco&clickstreamid=-1148393480441948266&maxRate=0&city=Jaco
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=-1148393480441948264&Rule=47&country=Costa Rica&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Jaco&cityId=10006870&state=&skw=Jaco&clickstreamid=-1148393480441948266&maxRate=0&city=Jaco
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: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>
hotelList.MS
view
DIRTY_VER.1
hotelList.MS
r