1
0
1
1
1
http://travel.aol.com/travel/AdMagicServlet?&query=San+Juan&start=1&num=10&page=1&country=Puerto+Rico&city=San+Juan
-
carib
puerto_rico
http://information.travel.aol.com/travel-guide/mexico-and-caribbean/puerto-rico
san_juan
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=51o494fPf3QLCHPDz2QkvxSA&ai=0&dt=1210579647706&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBCakfv_onSM6pLam2zAX_weDiCf-4jSnL8qyEA8CNtwHQ8DMQARgBIN_WjwYoCjgAUPqPmvsCYMkGoAGt14P_A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA_wF6APGBfUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26ggladgrp%3D340571539%26gglcreat%3D712167499%26adurl%3Dhttp%3A%2F%2Fwww.carrentals.com%2F%253Fcid%253D4904%2526chan%253Dpuertoricocarrentalvariety%2526q%253Dpuerto%252520rico%26client%3Dca-aol-service_traveldestination_xml&cs=gRsY%2F97u1ERQrofPjSvmnN2XXrs%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">
Puerto Rico Car Rentals</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Car Rentals In Puerto Rico From $9</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=51o494fPf3QLCHPDz2QkvxSA&ai=0&dt=1210579647706&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBCakfv_onSM6pLam2zAX_weDiCf-4jSnL8qyEA8CNtwHQ8DMQARgBIN_WjwYoCjgAUPqPmvsCYMkGoAGt14P_A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA_wF6APGBfUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26ggladgrp%3D340571539%26gglcreat%3D712167499%26adurl%3Dhttp%3A%2F%2Fwww.carrentals.com%2F%253Fcid%253D4904%2526chan%253Dpuertoricocarrentalvariety%2526q%253Dpuerto%252520rico%26client%3Dca-aol-service_traveldestination_xml&cs=gRsY%2F97u1ERQrofPjSvmnN2XXrs%3D" target="_blank">www.CarRentals.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=51o494fPf3QLCHPDz2QkvxSA&ai=1&dt=1210579647706&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBPDiiv_onSM6pLam2zAX_weDiCZvR2TPjlqb_AsCNtwGAkE4QAhgCIN_WjwYoCjgAUJGmz9z8_____wFgyQagAcPdgf8DsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gC64qaAagDAegD_AXoA8YF9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26adurl%3Dhttps%3A%2F%2Ffundraising.entertainment.com%2Fpsp%2Fpacpc%2FCUSTOMER%2FCRM%2Fs%2FWEBLIB_CNTCT_US.HTML_FUNCS.FieldFormula.IScript_Fundraising%253Fv%253D1%2526ln%253D0%2526t%253D1%2526wave%253DWVE0000296%2526campaign%253DFR-43%26client%3Dca-aol-service_traveldestination_xml&cs=Rv%2BJA55yCezabBz7yxjSGb5I1dU%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">
Fundraiser Ideas</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Fast & Easy Profit - No Upfront</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=51o494fPf3QLCHPDz2QkvxSA&ai=1&dt=1210579647706&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBPDiiv_onSM6pLam2zAX_weDiCZvR2TPjlqb_AsCNtwGAkE4QAhgCIN_WjwYoCjgAUJGmz9z8_____wFgyQagAcPdgf8DsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gC64qaAagDAegD_AXoA8YF9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26adurl%3Dhttps%3A%2F%2Ffundraising.entertainment.com%2Fpsp%2Fpacpc%2FCUSTOMER%2FCRM%2Fs%2FWEBLIB_CNTCT_US.HTML_FUNCS.FieldFormula.IScript_Fundraising%253Fv%253D1%2526ln%253D0%2526t%253D1%2526wave%253DWVE0000296%2526campaign%253DFR-43%26client%3Dca-aol-service_traveldestination_xml&cs=Rv%2BJA55yCezabBz7yxjSGb5I1dU%3D" target="_blank">www.fundraising.entertainment.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=51o494fPf3QLCHPDz2QkvxSA&ai=2&dt=1210579647706&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBA2C-v_onSM6pLam2zAX_weDiCfvH0kW1x_W1B8CNtwGw2wYQAxgDIN_WjwYoCjgAUKSClIr8_____wFgyQayAQRudWxsyAEB2gEMaHR0cDovL251bGwvqAMB6AP8BegDxgX1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D3%26ggladgrp%3D11194540744632531647%26gglcreat%3D6602833979901992689%26adurl%3Dhttp%3A%2F%2Fwww.clickmeasurement.org%2F%253FValueA%253DAdwords%2526ValueB%253DCampGroupG%2526ValueC%253DSan%252520Juan%2526ValueD%253Dsan%252520juan%2526ValueE%253Dsan%252520juan%2526ValueF%253Dnull%2526ValueG%253Dcontent%2526ValueH%253D%257Bcreativeid%257D%2526ValueI%253Dhttp%25253a%25252f%25252fwww%25252etokenizer%25252eorg%25252f%25253fq%25253dSan%252520Juan%26client%3Dca-aol-service_traveldestination_xml&cs=0i%2FfI2yCJkiFEnxTWsNKhPVtpnc%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>San</b> <b>Juan</b></a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Deals on <b>San</b> <b>Juan</b></p>
<a style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:11px;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" href="http://switcher.dmn.aol.com/sw/r?ri=51o494fPf3QLCHPDz2QkvxSA&ai=2&dt=1210579647706&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBA2C-v_onSM6pLam2zAX_weDiCfvH0kW1x_W1B8CNtwGw2wYQAxgDIN_WjwYoCjgAUKSClIr8_____wFgyQayAQRudWxsyAEB2gEMaHR0cDovL251bGwvqAMB6AP8BegDxgX1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D3%26ggladgrp%3D11194540744632531647%26gglcreat%3D6602833979901992689%26adurl%3Dhttp%3A%2F%2Fwww.clickmeasurement.org%2F%253FValueA%253DAdwords%2526ValueB%253DCampGroupG%2526ValueC%253DSan%252520Juan%2526ValueD%253Dsan%252520juan%2526ValueE%253Dsan%252520juan%2526ValueF%253Dnull%2526ValueG%253Dcontent%2526ValueH%253D%257Bcreativeid%257D%2526ValueI%253Dhttp%25253a%25252f%25252fwww%25252etokenizer%25252eorg%25252f%25253fq%25253dSan%252520Juan%26client%3Dca-aol-service_traveldestination_xml&cs=0i%2FfI2yCJkiFEnxTWsNKhPVtpnc%3D" target="_blank">www.tokenizer.org</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=51o494fPf3QLCHPDz2QkvxSA&ai=3&dt=1210579647706&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBEyRmv_onSM6pLam2zAX_weDiCd6mzVzulYGnBcCNtwGg7w8QBBgEIN_WjwYoCjgAUNLs8aH4_____wFgyQayAQRudWxsyAEB2gEMaHR0cDovL251bGwvyALumYcGqAMB6AP8BegDxgX1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D4%26ggladgrp%3D16736553985566837082%26gglcreat%3D4047982316837851679%26adurl%3Dhttp%3A%2F%2Fwww.sidestep.com%2Fin%253Fa%253Dsidestep%2Fgc%2526p%253DSan_Juan_Fly%2FCity_%252B_Fly_4%2FAir-Legacy%2526url%253Dhttp%3A%2F%2Fwww.sidestep.com%2Fh%2Flanding%253F%2526kw%253DSan%252BJuan%252BFly%2526product%253Dair%2526destination%253DSan%252BJuan%26client%3Dca-aol-service_traveldestination_xml&cs=tY73ZKNd5ywS1qCT%2F5i97jSgWrs%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>San</b> <b>Juan</b> Fly Cheap</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Fly With the Official Seach Engine!</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=51o494fPf3QLCHPDz2QkvxSA&ai=3&dt=1210579647706&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBEyRmv_onSM6pLam2zAX_weDiCd6mzVzulYGnBcCNtwGg7w8QBBgEIN_WjwYoCjgAUNLs8aH4_____wFgyQayAQRudWxsyAEB2gEMaHR0cDovL251bGwvyALumYcGqAMB6AP8BegDxgX1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D4%26ggladgrp%3D16736553985566837082%26gglcreat%3D4047982316837851679%26adurl%3Dhttp%3A%2F%2Fwww.sidestep.com%2Fin%253Fa%253Dsidestep%2Fgc%2526p%253DSan_Juan_Fly%2FCity_%252B_Fly_4%2FAir-Legacy%2526url%253Dhttp%3A%2F%2Fwww.sidestep.com%2Fh%2Flanding%253F%2526kw%253DSan%252BJuan%252BFly%2526product%253Dair%2526destination%253DSan%252BJuan%26client%3Dca-aol-service_traveldestination_xml&cs=tY73ZKNd5ywS1qCT%2F5i97jSgWrs%3D" target="_blank">www.SideStep.com</a>
</div>
</div>
1
0
2
1
2
null
http://switcher.dmn.aol.com/sw/a?squery=San+Juan&ip=64.12.131.253&sch=ca-aol-service_traveldestination_xml&ssch=destination_hotel&snum=4&skw=San+Juan
-
http://switcher.dmn.aol.com/sw/r?ri=81xXYVojy%2BSE%2BNIi%2BgORK%2Fww&ai=0&dt=1210579647700&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBog41v_onSPLiLpq6zAXl9s2tCv-4jSnL8qyEA8CNtwHQ8DMQARgBIN_WjwYoAjgAUPqPmvsCYMkGoAGt14P_A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA_wF6APGBfUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26ggladgrp%3D340571539%26gglcreat%3D712167499%26adurl%3Dhttp%3A%2F%2Fwww.carrentals.com%2F%253Fcid%253D4904%2526chan%253Dpuertoricocarrentalvariety%2526q%253Dpuerto%252520rico%26client%3Dca-aol-service_traveldestination_xml&cs=kME7FnzJ52iV7qwb9g2lkNU4VCg%3D
ppclick
Puerto Rico Car Rentals
Car Rentals In Puerto Rico From $9
www.CarRentals.com
16 Car Vendors. Compare Rates
-
http://switcher.dmn.aol.com/sw/r?ri=81xXYVojy%2BSE%2BNIi%2BgORK%2Fww&ai=1&dt=1210579647700&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB2gxrv_onSPLiLpq6zAXl9s2tCpvR2TPjlqb_AsCNtwGAkE4QAhgCIN_WjwYoAjgAUJGmz9z8_____wFgyQagAcPdgf8DsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gC64qaAagDAegD_AXoA8YF9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26adurl%3Dhttps%3A%2F%2Ffundraising.entertainment.com%2Fpsp%2Fpacpc%2FCUSTOMER%2FCRM%2Fs%2FWEBLIB_CNTCT_US.HTML_FUNCS.FieldFormula.IScript_Fundraising%253Fv%253D1%2526ln%253D0%2526t%253D1%2526wave%253DWVE0000296%2526campaign%253DFR-43%26client%3Dca-aol-service_traveldestination_xml&cs=HviTtHKRKQ7mi5E0QChOWO0o85c%3D
ppclick
Fundraiser Ideas
Fast & Easy Profit - No Upfront
www.fundraising.entertainment.com
Costs. Start a Local Fundraiser Now
1
0
1
1
1
-
http://images.leonardo.com/imgs/H/H06757/H06757_OTHER_03_I.jpg
The Hotel
loenardo
H06757
1
0
1
1
1
-
Type - Hotel
N
I
A
1200
Laundry/ Dry Cleaning Service
Multi-lingual Staff
http://www.canariohotels.com
44
N
Parking On Site Free
A
A
Near beach
Continental Plan
A
A
Laundry Room
800
533-2649
5
1300
Y
Small European-style Hotel located in the heart of Condado, 4 miles from airport.
Type - Bed and Breakfast
Car Rental
A
-1
-1
1
0
0
http://travel.aol.com/travel/TRRIRetrieve?avgFlag=0&count=5&query=San+Juan&start=1&num=10&page=1&pg=Hotel&hotelId=H06757&cityId=177&startReview=0&order=1
1
0
1
1
1
http://travel.aol.com/travel/TRRIRetrieve?avgFlag=1&query=San+Juan&start=1&num=10&page=1&pg=Hotel&hotelId=H06757&cityId=177
-
Not Available
0
1
0
1
1
1
1
-
722-5058
1
177
H06757
UI 51551
787
Puerto Rico
4 Clemeneau St, Condado
2008-05-04
00907
northstar
El Canario by the Lagoon
San Juan
79.69
San+Juan
Hotel
8
destination_hotel
San Juan
San Juan
1
2
1238
-6422683812802706063
web
35
Puerto Rico
ca-aol-service_traveldestination_xml
San Juan
177
El Canario by the Lagoon
H06757
0
San Juan
H06757
-6422683812802706065
http
/web
80
travel.aol.com
/destGuide/web
GET
64.12.131.253
-1
eng
HTTP/1.1
USA
/destGuide
http://travel.aol.com/destGuide/web
64.12.131.253
query=San+Juan&debug=2&Rule=35&HotelId=H06757&city=San+Juan&country=Puerto+Rico&cityId=177&dmnsch=ca-aol-service_traveldestination_xml&dmnssch=destination_hotel&skw=San+Juan&hotelname=El+Canario+by+the+Lagoon&hotelId=H06757&pg=Hotel&startReview=0&order=1
San Juan
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
lib_sponsor
HotelDetailPhotosSource
HotelDetailFeatureSource
TRRIListSource
google_common_module
TRRIAvgSource
HotelDetailSource
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
HotelDetailPhotosSource
url
HotelId
HotelId
HotelDetailPhotosSource
1
vss
3
Vss HotelDetailPhotosSource Source
HotelDetailFeatureSource
url
HotelId
HotelId
HotelDetailFeatureSource
1
vss
3
Vss HotelDetailFeatureSource Source
TRRIListSource
url
cityId
hotelId
startReview
pg
order
cityId
hotelId
startReview
pg
order
TRRIListSource
1
vss
3
VSS UpcomingEventsSource Source
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
TRRIAvgSource
url
cityId
pg
hotelId
cityId
pg
hotelId
TRRIAvgSource
1
vss
3
VSS UpcomingEventsSource Source
HotelDetailSource
url
HotelId
HotelId
HotelDetailSource
1
vss
3
Vss HotelDetailSource Source
San Juan
hotelDetails.I
inner
DIRTY_VER.1
hotelDetails.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=hotelDetails.M
false
url
HotelId
HotelId
HotelDetailSource
1
vss
3
Vss HotelDetailSource Source
http://travel.aol.com/destGuide/web?rt=1&id=hotelDetails.M&pg=Hotel&dmnssch=destination_hotel&order=1&debug=2&userid=-6422683812802706063&Rule=35&country=Puerto Rico&dmnsch=ca-aol-service_traveldestination_xml&query=San Juan&hotelname=El Canario by the Lagoon&hotelId=H06757&cityId=177&startReview=0&HotelId=H06757&skw=San Juan&clickstreamid=-6422683812802706065&city=San Juan
HotelDetailSource
url
HotelId
HotelId
HotelDetailSource
1
vss
3
Vss HotelDetailSource Source
HotelDetailSource
defaultController
hotelDetails.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:template match="results">
<xsl:variable name="photos" select="../countImages"/>
<xsl:variable name="reviews" select="/xmldoc/outcomes/TRRIAvgSource/results/item/totalReview"/>
<xsl:variable name="rating" select="item/rating"/>
<xsl:variable name="rates" select="item/rate"/>
<xsl:variable name="empty"/>
<div>
<link rel="stylesheet" type="text/css" href="{$docRootSubDir}/css/HotelDetailsPage.css"/>
<script src="http://btilelog.access.mapquest.com/tilelog/transaction?transaction=script&key=mjtd%7Clu6t2q0tn1%2C20%3Do5-lazn1&ipr=true&itk=true&v=b2btk" type="text/javascript">mapquest key</script>
<xsl:variable name="dojoLibServer" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'dojoLibServer']" />
<script type="text/javascript" src="{$dojoLibServer}">dojo framework</script>
<script>
var ProxyServerPath = '<xsl:value-of select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'mqProxy']"/>';
</script>
<script type="text/javascript">
var hotelName = "<xsl:value-of select='item/name'/>";
var hotelStreet = "<xsl:value-of select='item/street1'/>";
var hotelCity = "<xsl:value-of select='item/city'/>";
var hotelState = "<xsl:value-of select='item/state'/>";
var hotelCountry = "<xsl:value-of select='item/country'/>";
var hotelZip = "<xsl:value-of select='item/zip'/>";
var hotelPhotos = "<xsl:value-of select='$photos'/>";
var hotelRates = "<xsl:value-of select='item/rate'/>";
var hotelReviews = "<xsl:value-of select='item/reviews'/>";
var startMinDate = "<xsl:value-of select='item/InDate'/>";
var curTab = "<xsl:value-of select='/xmldoc/parameters/activeTab'/>";
var hotelId = "<xsl:value-of select='item/id'/>";
var requestURI = "<xsl:value-of select='/xmldoc/appconfig/uiConsts/child::properties[key = "requestUri"]/value'/>";
var requestURL = "<xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/>";
var param = "<xsl:value-of select='/xmldoc/parameters/requestinfo/querystring'/>";
</script>
<script type="text/javascript" src="{$docRootSubDir}/js/HotelDetailsPage.js">hdetail</script>
</div>
<div id="HotelDetailsWrapper">
<div id="aboveTabs">
<div id="hotelAddress">
<div id="hotelName"><xsl:value-of select="item/name"/><br/></div>
<xsl:value-of select="item/street1"/><br/>
<xsl:value-of select="item/city"/>,
<xsl:value-of select="item/state"/> 
<xsl:value-of select="item/zip"/><br/>
<xsl:variable name="countryCode" select="item/countryCode"/>
<xsl:variable name="areaCode" select="item/AreaCode"/>
<xsl:if test="$countryCode != 1 and $countryCode != ''">
+(<xsl:value-of select="$countryCode"/>) <xsl:if test="$areaCode != ''"><xsl:value-of select="$areaCode"/>-</xsl:if>
</xsl:if>
<xsl:if test="$countryCode = 1 and $areaCode != ''">(<xsl:value-of select="$areaCode"/>) </xsl:if><xsl:value-of select="item/phone"/>
</div>
<div id="userRating" onclick="initTab('reviews')">
<center><div id="starHolder">
<xsl:call-template name="starRatingLoop">
<xsl:with-param name="rating" select="item/rating"/>
<xsl:with-param name="count" select="1"/>
</xsl:call-template><content/>
</div></center>
<div id="ratingNum"><xsl:value-of select="item/rating"/><content/></div>
<xsl:if test="$rating != 0 and $rating != ''">
<div id="outOf">out of 5</div>
</xsl:if>
<xsl:if test="$reviews != 0 and $reviews != ''">
<div id="numRev">(<xsl:value-of select="$reviews"/> Reviews)</div>
</xsl:if>
</div>
</div>
<div id="tabWrapper">
<div id="tabHolder">
<ul>
<li class="hd_tab tab_out" id="featuresTab" onclick="initTab('features')">Features</li>
<xsl:if test="$photos != 0 and $photos != ''">
<li class="hd_tab tab_out" id="photosTab" onclick="initTab('photos')">Photos</li>
</xsl:if>
<li class="hd_tab tab_out" id="mapsTab" onclick="initTab('maps')">Maps</li>
<li class="hd_tab tab_out" id="reviewsTab" onclick="initTab('reviews')">Reviews</li>
<xsl:if test="$rates != 0 and $rates != ''">
<li class="hd_tab tab_out_orange" id="ratesTab" onclick="initTab('rates')">Rates from $<xsl:value-of select="item/rate"/></li>
</xsl:if>
</ul>
</div>
<!-- SEO Url Starts -->
<xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" />
<xsl:variable name="requestUri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" />
<xsl:variable name="hotelId" select="/xmldoc/outcomes/HotelDetailSource/results/item/id" />
<xsl:variable name="cityId" select="/xmldoc/parameters/cityId" />
<xsl:variable name="seoHotelName1">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/outcomes/HotelDetailSource/results/item/name"/>
</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="seoHotelName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="$seoHotelName1"/>
</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="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="tabSeoUrl">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName, '-', $seoHotelName, ':', $cityId, ':', $hotelId)" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName, '-', $seoHotelName, ':', $cityId, ':', $hotelId)" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="tabSeoUrlReviewAsc" select="concat($tabSeoUrl,':0:1-hotel-seo-reviews')" />
<xsl:variable name="tabSeoUrlReviewDesc" select="concat($tabSeoUrl,':0:0-hotel-seo-reviews')" />
<!-- div id="seoDiv" style="display:none;">
<a href="{$tabSeoUrl}-hotel-seo-features" title="Hotel Detail - Features">Hotel Detail - Features</a>
<a href="{$tabSeoUrl}-hotel-seo-pictures" title="Hotel Detail - Photos">Hotel Detail - Pictures</a>
<a href="{$tabSeoUrl}-hotel-seo-reservation" title="Hotel Detail - Rates">Hotel Detail - Reservation</a>
<a href="{$tabSeoUrlReviewAsc}" title="Hotel Detail - Reviews Asc">Hotel Detail - Reviews Ascending</a>
<a href="{$tabSeoUrlReviewDesc}" title="Hotel Detail - Reviews Desc">Hotel Detail - Reviews Descending</a>
</div -->
<!--SEO Url Ends -->
<div id="tabContent">
<div id="featuresContent">
<xsl:apply-templates select="/xmldoc/outcomes/HotelDetailFeatureSource/results/item" />
</div>
<div id="photosContent">
<xsl:choose>
<xsl:when test="$photos > 0">
<xsl:apply-templates select="/xmldoc/outcomes/HotelDetailPhotosSource/results" />
</xsl:when>
<xsl:otherwise>
<content />
</xsl:otherwise>
</xsl:choose>
</div>
<div id="mapsContent">
<div id="mapWindow" style="width:578px;height:287px;overflow:hidden;"><content/></div>
<div id="outerFormFrame">
<div id="formTitle">Driving Directions:</div>
<div id="formHolder">
<form id="routeForm" name="routeForm" action ="" onsubmit="doRoute();return false;">
<div id="startFrom">
<div class="formText">FROM:</div>
<label class="lblText" for='fromStreet'>Street Address or Intersection:</label>
<input type='text' alt='Enter street' maxlength='40' class='text' id='fromStreet' name='fromStreet' />
<label class="lblText" for='fromCity'>City:</label>
<input type='text' alt='Enter City' maxlength='40' class='text' id='fromCity' name='fromCity'/>
<label class="lblText" for='fromState'>State:</label>
<!--select id='fromState' name='fromState'>
<option value="PA">PA</option>
<option value="Las Vegas">Las Vegas</option>
</select-->
<input type='text' alt='Enter street' maxlength='40' class='text' id='fromState' name='fromState' value=""/>
<label class="lblText" for='fromZip'>Zip or Postal Code:</label>
<input type='text' alt='Enter Zip or Postal Code' maxlength='40' class='text' id='fromZip' name='fromZip' />
</div>
<div id="endTo">
<div class="formText">TO:</div>
<label class="lblText" for='toStreet'>Street Address or Intersection:</label>
<input type='text' alt='Enter street' maxlength='40' class='text' id='toStreet' name='toStreet' />
<label class="lblText" for='toCity'>City:</label>
<input type='text' alt='Enter street' maxlength='40' class='text' id='toCity' name='toCity' value=""/>
<label class="lblText" for='toState'>State:</label>
<!--select id='toState' name='toState'>
<option value="PA">PA</option>
<option value="NY">New York</option>
</select-->
<input type='text' alt='Enter street' maxlength='40' class='text' id='toState' name='toState' value=""/>
<label class="lblText" for='toZip'>Zip or Postal Code:</label>
<input type='text' alt='Enter Zip or Postal Code' maxlength='40' class='text' id='toZip' name='toZip' />
</div>
<input type="submit" class="btn" id="dirBtn" value="Get Directions" />
<input type="hidden" name="cityId" value="{/xmldoc/parameters/cityId}"/>
<input type="hidden" name="toCountry" value="{$countryName}"/>
<input type="hidden" name="hotelName" value="{item/name}"/>
<input type="hidden" name="hotelId" value="{item/id}"/>
<input type="hidden" name="requestURI" value="{/xmldoc/appconfig/uiConsts/child::properties[key = 'requestUri']/value}"/>
<input type="hidden" name="serverName" value="{/xmldoc/parameters/requestinfo/servername}"/>
<input type="hidden" name="serverPath" value="{/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'mqProxy']}"/>
<input type="hidden" name="cdnPath" value="{$docRootSubDir}"/>
<input type="hidden" name="addVar" value="{$Adchangevar}"/>
</form>
</div>
</div>
<div id="directionsResult" style="display:none;">
<div id="directionsWindow"><content/></div>
<div id="routeWindow" style="width:578px;height:287px;"><content/></div>
</div>
</div>
<script type="text/javascript" src="{$docRootSubDir}/js/listReview.js">lreview</script>
<div id="reviewsContent">
<xsl:apply-templates select="/xmldoc/outcomes/TRRIListSource/results" />
</div>
<div id="ratesContent"><content/></div>
</div>
</div>
</div>
</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/full_star.gif" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) = $count and ($rating*10 mod 10) != 0">
<img src="{$docRootSubDir}/img/half_star.gif" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) < $count">
<img src="{$docRootSubDir}/img/empty_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:stylesheet>
DIRTY_VER.1
hotelDetails.M
hotelDetails.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:template match="results">
<xsl:variable name="photos" select="../countImages"/>
<xsl:variable name="reviews" select="/xmldoc/outcomes/TRRIAvgSource/results/item/totalReview"/>
<xsl:variable name="rating" select="item/rating"/>
<xsl:variable name="rates" select="item/rate"/>
<xsl:variable name="empty"/>
<div>
<link rel="stylesheet" type="text/css" href="{$docRootSubDir}/css/HotelDetailsPage.css"/>
<script src="http://btilelog.access.mapquest.com/tilelog/transaction?transaction=script&key=mjtd%7Clu6t2q0tn1%2C20%3Do5-lazn1&ipr=true&itk=true&v=b2btk" type="text/javascript">mapquest key</script>
<xsl:variable name="dojoLibServer" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'dojoLibServer']" />
<script type="text/javascript" src="{$dojoLibServer}">dojo framework</script>
<script>
var ProxyServerPath = '<xsl:value-of select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'mqProxy']"/>';
</script>
<script type="text/javascript">
var hotelName = "<xsl:value-of select='item/name'/>";
var hotelStreet = "<xsl:value-of select='item/street1'/>";
var hotelCity = "<xsl:value-of select='item/city'/>";
var hotelState = "<xsl:value-of select='item/state'/>";
var hotelCountry = "<xsl:value-of select='item/country'/>";
var hotelZip = "<xsl:value-of select='item/zip'/>";
var hotelPhotos = "<xsl:value-of select='$photos'/>";
var hotelRates = "<xsl:value-of select='item/rate'/>";
var hotelReviews = "<xsl:value-of select='item/reviews'/>";
var startMinDate = "<xsl:value-of select='item/InDate'/>";
var curTab = "<xsl:value-of select='/xmldoc/parameters/activeTab'/>";
var hotelId = "<xsl:value-of select='item/id'/>";
var requestURI = "<xsl:value-of select='/xmldoc/appconfig/uiConsts/child::properties[key = "requestUri"]/value'/>";
var requestURL = "<xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/>";
var param = "<xsl:value-of select='/xmldoc/parameters/requestinfo/querystring'/>";
</script>
<script type="text/javascript" src="{$docRootSubDir}/js/HotelDetailsPage.js">hdetail</script>
</div>
<div id="HotelDetailsWrapper">
<div id="aboveTabs">
<div id="hotelAddress">
<div id="hotelName"><xsl:value-of select="item/name"/><br/></div>
<xsl:value-of select="item/street1"/><br/>
<xsl:value-of select="item/city"/>,
<xsl:value-of select="item/state"/> 
<xsl:value-of select="item/zip"/><br/>
<xsl:variable name="countryCode" select="item/countryCode"/>
<xsl:variable name="areaCode" select="item/AreaCode"/>
<xsl:if test="$countryCode != 1 and $countryCode != ''">
+(<xsl:value-of select="$countryCode"/>) <xsl:if test="$areaCode != ''"><xsl:value-of select="$areaCode"/>-</xsl:if>
</xsl:if>
<xsl:if test="$countryCode = 1 and $areaCode != ''">(<xsl:value-of select="$areaCode"/>) </xsl:if><xsl:value-of select="item/phone"/>
</div>
<div id="userRating" onclick="initTab('reviews')">
<center><div id="starHolder">
<xsl:call-template name="starRatingLoop">
<xsl:with-param name="rating" select="item/rating"/>
<xsl:with-param name="count" select="1"/>
</xsl:call-template><content/>
</div></center>
<div id="ratingNum"><xsl:value-of select="item/rating"/><content/></div>
<xsl:if test="$rating != 0 and $rating != ''">
<div id="outOf">out of 5</div>
</xsl:if>
<xsl:if test="$reviews != 0 and $reviews != ''">
<div id="numRev">(<xsl:value-of select="$reviews"/> Reviews)</div>
</xsl:if>
</div>
</div>
<div id="tabWrapper">
<div id="tabHolder">
<ul>
<li class="hd_tab tab_out" id="featuresTab" onclick="initTab('features')">Features</li>
<xsl:if test="$photos != 0 and $photos != ''">
<li class="hd_tab tab_out" id="photosTab" onclick="initTab('photos')">Photos</li>
</xsl:if>
<li class="hd_tab tab_out" id="mapsTab" onclick="initTab('maps')">Maps</li>
<li class="hd_tab tab_out" id="reviewsTab" onclick="initTab('reviews')">Reviews</li>
<xsl:if test="$rates != 0 and $rates != ''">
<li class="hd_tab tab_out_orange" id="ratesTab" onclick="initTab('rates')">Rates from $<xsl:value-of select="item/rate"/></li>
</xsl:if>
</ul>
</div>
<!-- SEO Url Starts -->
<xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" />
<xsl:variable name="requestUri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" />
<xsl:variable name="hotelId" select="/xmldoc/outcomes/HotelDetailSource/results/item/id" />
<xsl:variable name="cityId" select="/xmldoc/parameters/cityId" />
<xsl:variable name="seoHotelName1">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/outcomes/HotelDetailSource/results/item/name"/>
</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="seoHotelName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="$seoHotelName1"/>
</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="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="tabSeoUrl">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName, '-', $seoHotelName, ':', $cityId, ':', $hotelId)" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName, '-', $seoHotelName, ':', $cityId, ':', $hotelId)" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="tabSeoUrlReviewAsc" select="concat($tabSeoUrl,':0:1-hotel-seo-reviews')" />
<xsl:variable name="tabSeoUrlReviewDesc" select="concat($tabSeoUrl,':0:0-hotel-seo-reviews')" />
<!-- div id="seoDiv" style="display:none;">
<a href="{$tabSeoUrl}-hotel-seo-features" title="Hotel Detail - Features">Hotel Detail - Features</a>
<a href="{$tabSeoUrl}-hotel-seo-pictures" title="Hotel Detail - Photos">Hotel Detail - Pictures</a>
<a href="{$tabSeoUrl}-hotel-seo-reservation" title="Hotel Detail - Rates">Hotel Detail - Reservation</a>
<a href="{$tabSeoUrlReviewAsc}" title="Hotel Detail - Reviews Asc">Hotel Detail - Reviews Ascending</a>
<a href="{$tabSeoUrlReviewDesc}" title="Hotel Detail - Reviews Desc">Hotel Detail - Reviews Descending</a>
</div -->
<!--SEO Url Ends -->
<div id="tabContent">
<div id="featuresContent">
<xsl:apply-templates select="/xmldoc/outcomes/HotelDetailFeatureSource/results/item" />
</div>
<div id="photosContent">
<xsl:choose>
<xsl:when test="$photos > 0">
<xsl:apply-templates select="/xmldoc/outcomes/HotelDetailPhotosSource/results" />
</xsl:when>
<xsl:otherwise>
<content />
</xsl:otherwise>
</xsl:choose>
</div>
<div id="mapsContent">
<div id="mapWindow" style="width:578px;height:287px;overflow:hidden;"><content/></div>
<div id="outerFormFrame">
<div id="formTitle">Driving Directions:</div>
<div id="formHolder">
<form id="routeForm" name="routeForm" action ="" onsubmit="doRoute();return false;">
<div id="startFrom">
<div class="formText">FROM:</div>
<label class="lblText" for='fromStreet'>Street Address or Intersection:</label>
<input type='text' alt='Enter street' maxlength='40' class='text' id='fromStreet' name='fromStreet' />
<label class="lblText" for='fromCity'>City:</label>
<input type='text' alt='Enter City' maxlength='40' class='text' id='fromCity' name='fromCity'/>
<label class="lblText" for='fromState'>State:</label>
<!--select id='fromState' name='fromState'>
<option value="PA">PA</option>
<option value="Las Vegas">Las Vegas</option>
</select-->
<input type='text' alt='Enter street' maxlength='40' class='text' id='fromState' name='fromState' value=""/>
<label class="lblText" for='fromZip'>Zip or Postal Code:</label>
<input type='text' alt='Enter Zip or Postal Code' maxlength='40' class='text' id='fromZip' name='fromZip' />
</div>
<div id="endTo">
<div class="formText">TO:</div>
<label class="lblText" for='toStreet'>Street Address or Intersection:</label>
<input type='text' alt='Enter street' maxlength='40' class='text' id='toStreet' name='toStreet' />
<label class="lblText" for='toCity'>City:</label>
<input type='text' alt='Enter street' maxlength='40' class='text' id='toCity' name='toCity' value=""/>
<label class="lblText" for='toState'>State:</label>
<!--select id='toState' name='toState'>
<option value="PA">PA</option>
<option value="NY">New York</option>
</select-->
<input type='text' alt='Enter street' maxlength='40' class='text' id='toState' name='toState' value=""/>
<label class="lblText" for='toZip'>Zip or Postal Code:</label>
<input type='text' alt='Enter Zip or Postal Code' maxlength='40' class='text' id='toZip' name='toZip' />
</div>
<input type="submit" class="btn" id="dirBtn" value="Get Directions" />
<input type="hidden" name="cityId" value="{/xmldoc/parameters/cityId}"/>
<input type="hidden" name="toCountry" value="{$countryName}"/>
<input type="hidden" name="hotelName" value="{item/name}"/>
<input type="hidden" name="hotelId" value="{item/id}"/>
<input type="hidden" name="requestURI" value="{/xmldoc/appconfig/uiConsts/child::properties[key = 'requestUri']/value}"/>
<input type="hidden" name="serverName" value="{/xmldoc/parameters/requestinfo/servername}"/>
<input type="hidden" name="serverPath" value="{/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'mqProxy']}"/>
<input type="hidden" name="cdnPath" value="{$docRootSubDir}"/>
<input type="hidden" name="addVar" value="{$Adchangevar}"/>
</form>
</div>
</div>
<div id="directionsResult" style="display:none;">
<div id="directionsWindow"><content/></div>
<div id="routeWindow" style="width:578px;height:287px;"><content/></div>
</div>
</div>
<script type="text/javascript" src="{$docRootSubDir}/js/listReview.js">lreview</script>
<div id="reviewsContent">
<xsl:apply-templates select="/xmldoc/outcomes/TRRIListSource/results" />
</div>
<div id="ratesContent"><content/></div>
</div>
</div>
</div>
</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/full_star.gif" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) = $count and ($rating*10 mod 10) != 0">
<img src="{$docRootSubDir}/img/half_star.gif" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) < $count">
<img src="{$docRootSubDir}/img/empty_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:stylesheet>
hotelDetails.MS
view
DIRTY_VER.1
hotelDetails.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&pg=Hotel&dmnssch=destination_hotel&order=1&debug=2&userid=-6422683812802706063&Rule=35&country=Puerto Rico&dmnsch=ca-aol-service_traveldestination_xml&query=San Juan&hotelname=El Canario by the Lagoon&hotelId=H06757&cityId=177&startReview=0&HotelId=H06757&skw=San Juan&clickstreamid=-6422683812802706065&city=San Juan
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
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&pg=Hotel&dmnssch=destination_hotel&order=1&debug=2&userid=-6422683812802706063&Rule=35&country=Puerto Rico&dmnsch=ca-aol-service_traveldestination_xml&query=San Juan&hotelname=El Canario by the Lagoon&hotelId=H06757&cityId=177&startReview=0&HotelId=H06757&skw=San Juan&clickstreamid=-6422683812802706065&city=San Juan
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
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&pg=Hotel&dmnssch=destination_hotel&order=1&debug=2&userid=-6422683812802706063&Rule=35&country=Puerto Rico&dmnsch=ca-aol-service_traveldestination_xml&query=San Juan&hotelname=El Canario by the Lagoon&hotelId=H06757&cityId=177&startReview=0&HotelId=H06757&skw=San Juan&clickstreamid=-6422683812802706065&city=San Juan
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
MainPageTerriReview.I
inner
DIRTY_VER.1
MainPageTerriReview.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=MainPageTerriReview.M
false
url
cityId
pg
hotelId
cityId
pg
hotelId
TRRIAvgSource
1
vss
3
VSS UpcomingEventsSource Source
http://travel.aol.com/destGuide/web?rt=1&id=MainPageTerriReview.M&pg=Hotel&dmnssch=destination_hotel&order=1&debug=2&userid=-6422683812802706063&Rule=35&country=Puerto Rico&dmnsch=ca-aol-service_traveldestination_xml&query=San Juan&hotelname=El Canario by the Lagoon&hotelId=H06757&cityId=177&startReview=0&HotelId=H06757&skw=San Juan&clickstreamid=-6422683812802706065&city=San Juan
TRRIAvgSource
url
cityId
pg
hotelId
cityId
pg
hotelId
TRRIAvgSource
1
vss
3
VSS UpcomingEventsSource Source
TRRIAvgSource
defaultController
MainPageTerriReview.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="docRootSubDir" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'resourcesDir']" />
<xsl:variable name="fullStarPath"><xsl:value-of select="concat($docRootSubDir,'/img/star_full_gray.gif')" /></xsl:variable >
<xsl:variable name="halfStarPath"><xsl:value-of select="concat($docRootSubDir,'/img/star_half_gray.gif')" /></xsl:variable >
<xsl:variable name="emptyStarPath"><xsl:value-of select="concat($docRootSubDir,'/img/star_empty.gif')" /></xsl:variable >
<xsl:variable name="countryvar"><xsl:value-of select="/xmldoc/parameters/country"/></xsl:variable>
<xsl:variable name="lowerCaseLetters">abcdefghijklmnopqrstuvwxyz</xsl:variable>
<xsl:variable name="upperCaseLetters">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
<xsl:template name="TerriReviewModule">
<div id="TerriReviewModule">
<h1 id="TerriCommon">
<xsl:choose>
<xsl:when test="contains($countryvar, 'united states') or contains($countryvar, 'United states') or contains($countryvar, 'united States') or contains($countryvar, 'United States') ">
<xsl:choose>
<xsl:when test="/xmldoc/outcomes/adsInfo/results/item/state != ''">
<xsl:value-of select="/xmldoc/parameters/city"/>, <xsl:value-of select="translate(/xmldoc/outcomes/adsInfo/results/item/state,$lowerCaseLetters,$upperCaseLetters)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="/xmldoc/parameters/city"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="string-length(/xmldoc/outcomes/vssOverview/results/item/city_name) > 0">
<xsl:value-of select="/xmldoc/outcomes/vssOverview/results/item/city_name"/>, <xsl:value-of select="/xmldoc/outcomes/vssOverview/results/item/country_name"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="/xmldoc/parameters/city"/> , <xsl:value-of select="/xmldoc/parameters/country"/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</h1>
</div>
</xsl:template>
<xsl:template match="TRRIAvgSource">
<xsl:variable name="TRRIAvgSource_nodecheck">
<xsl:value-of select="results/item/avgRating"/>
</xsl:variable>
<xsl:variable name="avgOR" select="results/item/avgRating"/>
<xsl:choose>
<xsl:when test="string-length($TRRIAvgSource_nodecheck) > 0">
<div id="TerriavgReview" style="width:350px;float:left;">
<b>Average User Rating:
<xsl:choose>
<xsl:when test="$avgOR = 1">
Very Poor
</xsl:when>
<xsl:when test="$avgOR = 2">
Poor
</xsl:when>
<xsl:when test="$avgOR = 3">
OK
</xsl:when>
<xsl:when test="$avgOR = 4">
Good
</xsl:when>
<xsl:when test="$avgOR = 5">
Very Good
</xsl:when>
</xsl:choose>
</b>
<xsl:call-template name="mainstarRatingLoop">
<xsl:with-param name="rating" select="$avgOR"/>
<xsl:with-param name="emptyStarPath"><xsl:value-of select="$docRootSubDir"/>/img/small_star_full_orange.gif</xsl:with-param>
<xsl:with-param name="halfStarPath"></xsl:with-param>
<xsl:with-param name="fullStarPath"><xsl:value-of select="$docRootSubDir"/>/img/small_star_empty_orange.gif</xsl:with-param>
<xsl:with-param name="count" select="1"/>
</xsl:call-template>
<b style="color:#b7c2d6">(<xsl:value-of select="results/item/totalReview"/> Reviews)</b>
</div>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="mainstarRatingLoop">
<xsl:param name="rating" />
<xsl:param name="emptyStarPath"/>
<xsl:param name="halfStarPath"/>
<xsl:param name="fullStarPath"/>
<xsl:param name="count" />
<xsl:if test="$count < 6">
<xsl:if test="floor($rating) >= $count">
<img src="{$emptyStarPath}" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) = $count and ($rating*10 mod 10) != 0">
<img src="{$halfStarPath}" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) < $count">
<img src="{$fullStarPath}" alt=""/>
</xsl:if>
<xsl:call-template name="mainstarRatingLoop">
<xsl:with-param name="rating" select="$rating"/>
<xsl:with-param name="emptyStarPath" select="$emptyStarPath"/>
<xsl:with-param name="halfStarPath" select="$halfStarPath"/>
<xsl:with-param name="fullStarPath" select="$fullStarPath"/>
<xsl:with-param name="count" select="$count+1"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
DIRTY_VER.1
MainPageTerriReview.M
MainPageTerriReview.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="docRootSubDir" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'resourcesDir']" />
<xsl:variable name="fullStarPath"><xsl:value-of select="concat($docRootSubDir,'/img/star_full_gray.gif')" /></xsl:variable >
<xsl:variable name="halfStarPath"><xsl:value-of select="concat($docRootSubDir,'/img/star_half_gray.gif')" /></xsl:variable >
<xsl:variable name="emptyStarPath"><xsl:value-of select="concat($docRootSubDir,'/img/star_empty.gif')" /></xsl:variable >
<xsl:variable name="countryvar"><xsl:value-of select="/xmldoc/parameters/country"/></xsl:variable>
<xsl:variable name="lowerCaseLetters">abcdefghijklmnopqrstuvwxyz</xsl:variable>
<xsl:variable name="upperCaseLetters">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
<xsl:template name="TerriReviewModule">
<div id="TerriReviewModule">
<h1 id="TerriCommon">
<xsl:choose>
<xsl:when test="contains($countryvar, 'united states') or contains($countryvar, 'United states') or contains($countryvar, 'united States') or contains($countryvar, 'United States') ">
<xsl:choose>
<xsl:when test="/xmldoc/outcomes/adsInfo/results/item/state != ''">
<xsl:value-of select="/xmldoc/parameters/city"/>, <xsl:value-of select="translate(/xmldoc/outcomes/adsInfo/results/item/state,$lowerCaseLetters,$upperCaseLetters)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="/xmldoc/parameters/city"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="string-length(/xmldoc/outcomes/vssOverview/results/item/city_name) > 0">
<xsl:value-of select="/xmldoc/outcomes/vssOverview/results/item/city_name"/>, <xsl:value-of select="/xmldoc/outcomes/vssOverview/results/item/country_name"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="/xmldoc/parameters/city"/> , <xsl:value-of select="/xmldoc/parameters/country"/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</h1>
</div>
</xsl:template>
<xsl:template match="TRRIAvgSource">
<xsl:variable name="TRRIAvgSource_nodecheck">
<xsl:value-of select="results/item/avgRating"/>
</xsl:variable>
<xsl:variable name="avgOR" select="results/item/avgRating"/>
<xsl:choose>
<xsl:when test="string-length($TRRIAvgSource_nodecheck) > 0">
<div id="TerriavgReview" style="width:350px;float:left;">
<b>Average User Rating:
<xsl:choose>
<xsl:when test="$avgOR = 1">
Very Poor
</xsl:when>
<xsl:when test="$avgOR = 2">
Poor
</xsl:when>
<xsl:when test="$avgOR = 3">
OK
</xsl:when>
<xsl:when test="$avgOR = 4">
Good
</xsl:when>
<xsl:when test="$avgOR = 5">
Very Good
</xsl:when>
</xsl:choose>
</b>
<xsl:call-template name="mainstarRatingLoop">
<xsl:with-param name="rating" select="$avgOR"/>
<xsl:with-param name="emptyStarPath"><xsl:value-of select="$docRootSubDir"/>/img/small_star_full_orange.gif</xsl:with-param>
<xsl:with-param name="halfStarPath"></xsl:with-param>
<xsl:with-param name="fullStarPath"><xsl:value-of select="$docRootSubDir"/>/img/small_star_empty_orange.gif</xsl:with-param>
<xsl:with-param name="count" select="1"/>
</xsl:call-template>
<b style="color:#b7c2d6">(<xsl:value-of select="results/item/totalReview"/> Reviews)</b>
</div>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="mainstarRatingLoop">
<xsl:param name="rating" />
<xsl:param name="emptyStarPath"/>
<xsl:param name="halfStarPath"/>
<xsl:param name="fullStarPath"/>
<xsl:param name="count" />
<xsl:if test="$count < 6">
<xsl:if test="floor($rating) >= $count">
<img src="{$emptyStarPath}" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) = $count and ($rating*10 mod 10) != 0">
<img src="{$halfStarPath}" alt=""/>
</xsl:if>
<xsl:if test="ceiling($rating) < $count">
<img src="{$fullStarPath}" alt=""/>
</xsl:if>
<xsl:call-template name="mainstarRatingLoop">
<xsl:with-param name="rating" select="$rating"/>
<xsl:with-param name="emptyStarPath" select="$emptyStarPath"/>
<xsl:with-param name="halfStarPath" select="$halfStarPath"/>
<xsl:with-param name="fullStarPath" select="$fullStarPath"/>
<xsl:with-param name="count" select="$count+1"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
MainPageTerriReview.MS
view
DIRTY_VER.1
MainPageTerriReview.MS
hotelFeaturesTab.I
inner
DIRTY_VER.1
hotelFeaturesTab.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=hotelFeaturesTab.M
false
url
HotelId
HotelId
HotelDetailFeatureSource
1
vss
3
Vss HotelDetailFeatureSource Source
http://travel.aol.com/destGuide/web?rt=1&id=hotelFeaturesTab.M&pg=Hotel&dmnssch=destination_hotel&order=1&debug=2&userid=-6422683812802706063&Rule=35&country=Puerto Rico&dmnsch=ca-aol-service_traveldestination_xml&query=San Juan&hotelname=El Canario by the Lagoon&hotelId=H06757&cityId=177&startReview=0&HotelId=H06757&skw=San Juan&clickstreamid=-6422683812802706065&city=San Juan
HotelDetailFeatureSource
url
HotelId
HotelId
HotelDetailFeatureSource
1
vss
3
Vss HotelDetailFeatureSource Source
HotelDetailFeatureSource
defaultController
hotelFeaturesTab.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:template match="/xmldoc/outcomes/HotelDetailFeatureSource/results/item">
<!-- xsl:variable name="docRootSubDir" select="//xmldoc/appconfig/uiConsts/properties/value" />
<link rel="stylesheet" type="text/css" href="{$docRootSubDir}/css/HotelDetailsPage.css"/ -->
<div class="hotelFeatures">
<div class="amenityWrap">
<div class="featuresHeading">
Hotel Description
</div>
<xsl:if test="string-length(description) > 0">
<div class="featuresDescription">
<xsl:value-of select="description"/>
</div>
</xsl:if>
</div>
<div class="amenityWrap">
<div class="hotel_amenities_header">
Hotel Amenities
</div>
<div class="hotel_amenities_list">
<xsl:if test="string-length(HA_Toll-Free_Telephone_Number) > 0">
- Toll-Free Telephone Number: <xsl:value-of select="HA_Toll-Free_Area_Code"/>-<xsl:value-of select="HA_Toll-Free_Telephone_Number"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Hotel_Internet_Website) > 0">
<div>- Hotel Internet Website: <xsl:value-of select="HA_Hotel_Internet_Website"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Hotel_E-Mail_Address) > 0">
<div> - Hotel E-Mail Address: <xsl:value-of select="HA_Hotel_E-Mail_Address"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Total_Number_of_Rooms) > 0">
<div> - Total Number of Rooms: <xsl:value-of select="HA_Total_Number_of_Rooms"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Number_Of_Floors) > 0">
- Number Of Floors: <xsl:value-of select="HA_Number_Of_Floors"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Check-In_Time) > 0">
- Check-In Time: <xsl:value-of select="HA_Check-In_Time"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Check-Out_Time) > 0">
<div>- Check-Out Time: <xsl:value-of select="HA_Check-Out_Time"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_All_Suite) > 0">
- <xsl:value-of select="HA_Type_-_All_Suite"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_Bed_and_Breakfast) > 0">
- <xsl:value-of select="HA_Type_-_Bed_and_Breakfast"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_Cabin_or_Bungalow) > 0">
<div> - <xsl:value-of select="HA_Type_-_Cabin_or_Bungalow"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_Condominium) > 0">
<div> - <xsl:value-of select="HA_Type_-_Condominium"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_Conference_Center) > 0">
<div> - <xsl:value-of select="HA_Type_-_Conference_Center"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_Extended_Stay) > 0">
- <xsl:value-of select="HA_Type_-_Extended_Stay"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_Hotel) > 0">
<div>
- <xsl:value-of select="HA_Type_-_Hotel"/>
</div>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_Inn) > 0">
- <xsl:value-of select="HA_Type_-_Inn"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_Motel) > 0">
- <xsl:value-of select="HA_Type_-_Motel"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Type_-_Resort) > 0">
<div> - <xsl:value-of select="HA_Type_-_Resort"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Location_Description) > 0">
- <xsl:value-of select="HA_Location_Description"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_Airport) > 0">
<div>- Location -
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_Airport"/>
</xsl:call-template> Airport</div>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_Beach) > 0">
<div>- Location -
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_Beach"/>
</xsl:call-template> Beach</div>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_City) > 0">
- Location
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_City"/>
</xsl:call-template> City<br/>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_Convention_Center) > 0">
<div> - Location
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_Convention_Center"/>
</xsl:call-template> Convention Center</div>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_Highway) > 0">
<div>
- Location
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_Highway"/>
</xsl:call-template> Highway
</div>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_Lake) > 0">
<div> - Location
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_Lake"/>
</xsl:call-template> Lake</div>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_Mountain) > 0">
- Location
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_Mountain"/>
</xsl:call-template> Mountain<br/>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_Rural_Area) > 0">
- Location
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_Rural_Area"/>
</xsl:call-template> Rural Area<br/>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_Suburbs) > 0">
- Location
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_Suburbs"/>
</xsl:call-template> Suburbs<br/>
</xsl:if>
<xsl:if test="string-length(HA_Location_-_Tourist_Area) > 0">
<div> - Location
<xsl:call-template name="At_In_Near">
<xsl:with-param name="value" select="HA_Location_-_Tourist_Area"/>
</xsl:call-template> Tourist Area</div>
</xsl:if>
<xsl:if test="string-length(HA_Nearest_Cross_Street) > 0">
<div> - <xsl:value-of select="HA_Nearest_Cross_Street"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Airport_Free_Transportation_1) > 0">
<div> - Airport Free Transportation <!--xsl:value-of select="HA_Airport_Free_Transportation_1"/--> </div>
</xsl:if>
<xsl:if test="string-length(HA_Property_Is_Near_An_Airport) > 0">
- Property Is Near An Airport - <xsl:value-of select="HA_Property_Is_Near_An_Airport"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_All_Inclusive_Resort_) > 0">
- <xsl:value-of select="HA_All_Inclusive_Resort_"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_American_Plan_) > 0">
- <xsl:value-of select="HA_American_Plan_"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Continental_Plan_) > 0">
- <xsl:value-of select="HA_Continental_Plan_"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Full_Breakfast_) > 0">
- <xsl:value-of select="HA_Full_Breakfast_"/><br/>
</xsl:if>
<xsl:if test="string-length(HA_Air_Conditioning_In_Room) > 0">
- Air Conditioning (In Room) -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Air_Conditioning_In_Room"/>
</xsl:call-template><br/>
</xsl:if>
<xsl:if test="string-length(HA_Coffee_Maker) > 0">
- Coffee Maker -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Coffee_Maker"/>
</xsl:call-template><br/>
</xsl:if>
<xsl:if test="string-length(HA_Dvd_Vcr) > 0">
- DVD/VCR -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Dvd_Vcr"/>
</xsl:call-template><br/>
</xsl:if>
<xsl:if test="string-length(HA_Fireplace) > 0">
- Fireplace -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Fireplace"/>
</xsl:call-template><br/>
</xsl:if>
<xsl:if test="string-length(HA_Fitness_Equipment) > 0">
<div> - Fitness Equipment -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Fitness_Equipment"/>
</xsl:call-template> </div>
</xsl:if>
<xsl:if test="string-length(HA_In_Room_Broadband_Internet_Access) > 0">
<div> - <xsl:value-of select="HA_In_Room_Broadband_Internet_Access"/> </div>
</xsl:if>
<xsl:if test="string-length(HA_Iron) > 0">
- Iron -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Iron"/>
</xsl:call-template><br/>
</xsl:if>
<xsl:if test="string-length(HA_Kitchen_or_Kitchenette) > 0">
<div> - Kitchen/Kitchenette -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Kitchen_or_Kitchenette"/>
</xsl:call-template> </div>
</xsl:if>
<xsl:if test="string-length(HA_Microwave_Oven) > 0">
- Microwave Oven -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Microwave_Oven"/>
</xsl:call-template><br/>
</xsl:if>
<xsl:if test="string-length(HA_Mini-Bar) > 0">
- Mini-Bar -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Mini-Bar"/>
</xsl:call-template><br/>
</xsl:if>
<xsl:if test="string-length(HA_Newspaper_Free) > 0">
- Newspaper (Free) -
<xsl:call-template name="All_Some">
<xsl:with-param name="value" select="HA_Newspaper_Free"/>
</xsl:call-template><br/>
</xsl:if>
<xsl:if test="string-length(HA_Non-Smoking_Rooms) > 0">
- Non-Smoking Rooms -
<xsl:call-template nam