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=04J05qaoezTqqgyDY9TYURYg&ai=0&dt=1216898223195&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBGcedr2SISLLqE4rOyQXZh_nvBZ-K6nDB65iIC8CNtwHwyCEQARgBIN_WjwYoBTgAUOLPvfcCYMmGgIDcI6AB_Yn--QOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvgAIByAKDq-UEqAMB6AM-6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.tripology.com%2Fsafari_gabon_africa%2F%26client%3Dca-aol-service_traveldestination_xml&cs=SbSlkEnhvOUWAtkkj0lP%2BlguAAQ%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">
Find Safari Planners</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Get Matched With Safari Specialists</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=04J05qaoezTqqgyDY9TYURYg&ai=0&dt=1216898223195&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBGcedr2SISLLqE4rOyQXZh_nvBZ-K6nDB65iIC8CNtwHwyCEQARgBIN_WjwYoBTgAUOLPvfcCYMmGgIDcI6AB_Yn--QOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvgAIByAKDq-UEqAMB6AM-6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.tripology.com%2Fsafari_gabon_africa%2F%26client%3Dca-aol-service_traveldestination_xml&cs=SbSlkEnhvOUWAtkkj0lP%2BlguAAQ%3D" target="_blank">www.Tripology.com/Safari</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=04J05qaoezTqqgyDY9TYURYg&ai=1&dt=1216898223195&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBX7lhr2SISLLqE4rOyQXZh_nvBcaNpjPm_dyKA8CNtwGgjQYQAhgCIN_WjwYoBTgAUJ3E4tECYMmGgIDcI7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC_IAurG9wOoAwHoAz7oA8cE9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-g297574-d302616-Reviews-m10995-Le_Meridien_Mandji-Port_Gentil-GoogleUS0C.html%26client%3Dca-aol-service_traveldestination_xml&cs=E7xHHnyOnG01DGW%2F9yu%2BwapTPpk%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>Port</b> <b>Gentil</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=04J05qaoezTqqgyDY9TYURYg&ai=1&dt=1216898223195&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBX7lhr2SISLLqE4rOyQXZh_nvBcaNpjPm_dyKA8CNtwGgjQYQAhgCIN_WjwYoBTgAUJ3E4tECYMmGgIDcI7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC_IAurG9wOoAwHoAz7oA8cE9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-g297574-d302616-Reviews-m10995-Le_Meridien_Mandji-Port_Gentil-GoogleUS0C.html%26client%3Dca-aol-service_traveldestination_xml&cs=E7xHHnyOnG01DGW%2F9yu%2BwapTPpk%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=04J05qaoezTqqgyDY9TYURYg&ai=2&dt=1216898223195&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBNOTrr2SISLLqE4rOyQXZh_nvBeDV21PytsOKB8CNtwGw2wYQAxgDIN_WjwYoBTgAUKSDoID5_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gC2KzCAagDAegDPugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fwww.dogpile.com%2Fdogpile_200%2Fws%2Fresults%2FWeb%2Flibreville%2F1%2F417%2FTopNavigation%2FRelevance%2Fiq%253Dtrue%2Fzoom%253Doff%2F_iceUrlFlag%253D7%253F_IceUrl%253Dtrue%26client%3Dca-aol-service_traveldestination_xml&cs=PLdN210L19BHfv5SrxTyRDuE7sk%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">
Libreville</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Search all the top search engines</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=04J05qaoezTqqgyDY9TYURYg&ai=2&dt=1216898223195&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBNOTrr2SISLLqE4rOyQXZh_nvBeDV21PytsOKB8CNtwGw2wYQAxgDIN_WjwYoBTgAUKSDoID5_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gC2KzCAagDAegDPugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fwww.dogpile.com%2Fdogpile_200%2Fws%2Fresults%2FWeb%2Flibreville%2F1%2F417%2FTopNavigation%2FRelevance%2Fiq%253Dtrue%2Fzoom%253Doff%2F_iceUrlFlag%253D7%253F_IceUrl%253Dtrue%26client%3Dca-aol-service_traveldestination_xml&cs=PLdN210L19BHfv5SrxTyRDuE7sk%3D" target="_blank">www.dogpile.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=04J05qaoezTqqgyDY9TYURYg&ai=3&dt=1216898223195&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBFwgKr2SISLLqE4rOyQXZh_nvBduO1iTHrZC1A8CNtwHQrCAQBBgEIN_WjwYoBTgAUMv-v_UEYMmGgIDcI6ABrdeD_wOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvqAMB6AM-6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D4%26ggladgrp%3D11848822377529886303%26gglcreat%3D5313909969590820117%26adurl%3Dhttp%3A%2F%2Fwww.carrentals.com%2F%253Fcid%253D11474%2526l%253DLBV%2526chan%253DLBV%26client%3Dca-aol-service_traveldestination_xml&cs=nOteyVsiL9GzPCKEgpo4aeFLhwc%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">
LBV Airport Car Rentals</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Low Rates. Save Up To 40%</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=04J05qaoezTqqgyDY9TYURYg&ai=3&dt=1216898223195&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBFwgKr2SISLLqE4rOyQXZh_nvBduO1iTHrZC1A8CNtwHQrCAQBBgEIN_WjwYoBTgAUMv-v_UEYMmGgIDcI6ABrdeD_wOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvqAMB6AM-6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D4%26ggladgrp%3D11848822377529886303%26gglcreat%3D5313909969590820117%26adurl%3Dhttp%3A%2F%2Fwww.carrentals.com%2F%253Fcid%253D11474%2526l%253DLBV%2526chan%253DLBV%26client%3Dca-aol-service_traveldestination_xml&cs=nOteyVsiL9GzPCKEgpo4aeFLhwc%3D" target="_blank">www.CarRentals.com</a>
</div>
</div>
1
0
4
1
4
SC4
http://switcher.dmn.aol.com/sw/a?squery=Port+Gentil&ip=205.188.101.252&sch=ca-aol-service_traveldestination_xml&ssch=listings_hotel&snum=4&skw=Port+Gentil
-
http://switcher.dmn.aol.com/sw/r?ri=03skW27Y5cRvuNmfK%2FlsYApQ&ai=0&dt=1216898223180&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBFdP0r2SISNmNEYT2ygWsyMn8BZ-K6nDB65iIC8CNtwHwyCEQARgBIN_WjwYoBDgAUOLPvfcCYMkGoAH9if75A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-AAgHIAoOr5QSoAwHoAz7oA8cE9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.tripology.com%2Fsafari_gabon_africa%2F%26client%3Dca-aol-service_traveldestination_xml&cs=5ddBXGB1oyq%2Ba3ZC2i9zw4Hzk28%3D
ppclick
Find Safari Planners
Get Matched With Safari Specialists
www.Tripology.com/Safari
Who Know Gabon.
-
http://switcher.dmn.aol.com/sw/r?ri=03skW27Y5cRvuNmfK%2FlsYApQ&ai=1&dt=1216898223180&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBsrdZr2SISNmNEYT2ygWsyMn8BcaNpjPm_dyKA8CNtwGgjQYQAhgCIN_WjwYoBDgAUJ3E4tECYMkGsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gC6sb3A6gDAegDPugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-g297574-d302616-Reviews-m10995-Le_Meridien_Mandji-Port_Gentil-GoogleUS0C.html%26client%3Dca-aol-service_traveldestination_xml&cs=CU1eEiBp9fgXbgP%2FGGRy1vBQr7c%3D
ppclick
<b>Port</b> <b>Gentil</b> Hotels
Find Deals, Read Reviews from Real
www.TripAdvisor.com
People. Get the Truth. Then Go.
-
http://switcher.dmn.aol.com/sw/r?ri=03skW27Y5cRvuNmfK%2FlsYApQ&ai=2&dt=1216898223180&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBPMG-r2SISNmNEYT2ygWsyMn8BeDV21PytsOKB8CNtwGA8QQQAxgDIN_WjwYoBDgAUKSDoID5_____wFgyQayAQRudWxsyAEB2gEMaHR0cDovL251bGwvyALYrMIBqAMB6AM-6APHBPUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fwww.dogpile.com%2Fdogpile_200%2Fws%2Fresults%2FWeb%2Flibreville%2F1%2F417%2FTopNavigation%2FRelevance%2Fiq%253Dtrue%2Fzoom%253Doff%2F_iceUrlFlag%253D7%253F_IceUrl%253Dtrue%26client%3Dca-aol-service_traveldestination_xml&cs=Hen1Lyz%2BiLbWXBR6CB1XjFyAocA%3D
ppclick
Libreville
Search all the top search engines
www.dogpile.com
at once for info about Africa.
-
http://switcher.dmn.aol.com/sw/r?ri=03skW27Y5cRvuNmfK%2FlsYApQ&ai=3&dt=1216898223180&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBaj9vr2SISNmNEYT2ygWsyMn8Barszjn6uLHHBMCNtwGgnVQQBBgEIN_WjwYoBDgAUOr41cT-_____wFgyQagAdrnov0DsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAagDAegDPugDxwT1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.intelamart.com%2Fvivite.asp%26client%3Dca-aol-service_traveldestination_xml&cs=M4YjwkNaRJMw6He1DIgNJMMQG9M%3D
ppclick
Vivite Kit $184.99
Dont Spend More-Shop Here
www.intelamart.com
Same Day Shipping On All Orders
Port+Gentil
1
10
Price
160
-6940294266431099685
47
web
Port Gentil
Port Gentil
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=Port+Gentil&city=Port+Gentil&country=Gabon&start=1&end=10&minPrice=0&maxPrice=0&minRate=0&maxRate=0&order=asc&orderBy=Price&Rule=47&debug=2&cityId=10012277&dmnsch=ca-aol-service_traveldestination_xml&dmnssch=listings_hotel&skw=Port+Gentil&listing=hotels_direct
-6940294266431099687
0
Port Gentil
5
0
listings_hotel
Port Gentil
Port Gentil
0
asc
0
2
Gabon
hotels_direct
ca-aol-service_traveldestination_xml
10012277
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
Port Gentil
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=-6940294266431099685&Rule=47&country=Gabon&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Port Gentil&cityId=10012277&skw=Port Gentil&clickstreamid=-6940294266431099687&maxRate=0&city=Port Gentil
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=-6940294266431099685&Rule=47&country=Gabon&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Port Gentil&cityId=10012277&skw=Port Gentil&clickstreamid=-6940294266431099687&maxRate=0&city=Port Gentil
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=-6940294266431099685&Rule=47&country=Gabon&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Port Gentil&cityId=10012277&skw=Port Gentil&clickstreamid=-6940294266431099687&maxRate=0&city=Port Gentil
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=-6940294266431099685&Rule=47&country=Gabon&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Port Gentil&cityId=10012277&skw=Port Gentil&clickstreamid=-6940294266431099687&maxRate=0&city=Port Gentil
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=-6940294266431099685&Rule=47&country=Gabon&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Port Gentil&cityId=10012277&skw=Port Gentil&clickstreamid=-6940294266431099687&maxRate=0&city=Port Gentil
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
relevance
hotelListing.P
page
47th rule
<?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" />
<!-- global variables starts here -->
<xsl:variable name="docRootSubDir" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'resourcesDir']" />
<!-- global variables ends here -->
<!-- Prabhu Bread Crumb Etc Code Starts -->
<xsl:variable name="addmavar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/dma"/></xsl:variable>
<xsl:variable name="adcontinentvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/continent"/></xsl:variable>
<xsl:variable name="adcountryvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/country"/></xsl:variable>
<xsl:variable name="adstatevar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/state"/></xsl:variable>
<xsl:variable name="adcityvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/city"/></xsl:variable>
<xsl:variable name="adcategoryvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/category"/></xsl:variable>
<xsl:variable name="adactivityvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/activities"/></xsl:variable>
<xsl:variable name="Adchangevar">
<xsl:choose>
<xsl:when test="string-length($adcityvar) > 0">
&city=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/city"/>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length($adstatevar) > 0">
&st=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/state"/>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length($addmavar) > 0">
&reg=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/dma"/>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length($adcountryvar) > 0">
&co=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/country"/>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length($adcontinentvar) > 0">
&cont=<xsl:value-of select="/xmldoc/outcomes/adsInfo/re