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=45UzNXEcV9Szeo9qHdRXxr8A&ai=0&dt=1216924627375&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB9_3A08uISNKkKaq6zQXb7KC4CJv-hmXFprOJBsCNtwGA8QQQARgBIN_WjwYoBTgAUIjY8uD9_____wFgyYaAgNwjoAH18NXyA7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA4UG9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D1%26ggladgrp%3D9086340866902504969%26gglcreat%3D12922618542395100263%26adurl%3Dhttp%3A%2F%2Ftry.alottoolbars.com%2Ftb%2Fmaps%2Fmaps_sideview.php%253Faff_id%253Dgooglefivenew%26client%3Dca-aol-service_traveldestination_xml&cs=rnMdwiC%2FXZLNcozERAMyF2ksq9E%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>Kentucky</b> Map</a> <p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Get Directions &amp; Maps of <b>Kentucky</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=45UzNXEcV9Szeo9qHdRXxr8A&ai=0&dt=1216924627375&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB9_3A08uISNKkKaq6zQXb7KC4CJv-hmXFprOJBsCNtwGA8QQQARgBIN_WjwYoBTgAUIjY8uD9_____wFgyYaAgNwjoAH18NXyA7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA4UG9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D1%26ggladgrp%3D9086340866902504969%26gglcreat%3D12922618542395100263%26adurl%3Dhttp%3A%2F%2Ftry.alottoolbars.com%2Ftb%2Fmaps%2Fmaps_sideview.php%253Faff_id%253Dgooglefivenew%26client%3Dca-aol-service_traveldestination_xml&cs=rnMdwiC%2FXZLNcozERAMyF2ksq9E%3D" target="_blank">Maps.alottoolbars.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=45UzNXEcV9Szeo9qHdRXxr8A&ai=1&dt=1216924627375&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBcXKP08uISNKkKaq6zQXb7KC4CJDKvl-EtK-AA8CNtwHwqisQAhgCIN_WjwYoBTgAUPq1qQlgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gCgJjNA6gDAegDhQb1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.realtor.com%2F%253Fsource%253Da15696%2526refcd%253DGO336203824c_kentucky_real_estate%2526gate%253Dgoogle%2526supads%253Dpup%2Cpun%2526tsacr%253DGO715243676%26client%3Dca-aol-service_traveldestination_xml&cs=jKjWTTO%2F8o708lD%2FDuQajxPu6So%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>Kentucky</b> Real Estate</a> <p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Search Free Real Estate Listings</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=45UzNXEcV9Szeo9qHdRXxr8A&ai=1&dt=1216924627375&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBcXKP08uISNKkKaq6zQXb7KC4CJDKvl-EtK-AA8CNtwHwqisQAhgCIN_WjwYoBTgAUPq1qQlgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gCgJjNA6gDAegDhQb1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.realtor.com%2F%253Fsource%253Da15696%2526refcd%253DGO336203824c_kentucky_real_estate%2526gate%253Dgoogle%2526supads%253Dpup%2Cpun%2526tsacr%253DGO715243676%26client%3Dca-aol-service_traveldestination_xml&cs=jKjWTTO%2F8o708lD%2FDuQajxPu6So%3D" target="_blank">www.Realtor.com/KentuckyRealEstate</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=45UzNXEcV9Szeo9qHdRXxr8A&ai=2&dt=1216924627375&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBkFVw08uISNKkKaq6zQXb7KC4CJeR4VHr1LLIBsCNtwHgrzkQAxgDIN_WjwYoBTgAUIL0x5P5_____wFgyYaAgNwjoAGdpNPwA7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA4UG9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fwww.hudforeclosed.com%2Fsave.do%253Fdiscount%253DH3030%26client%3Dca-aol-service_traveldestination_xml&cs=Tkv0hWIYH07s%2B27Pb%2BUa5z21eJc%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>Kentucky</b> Forclosures</a> <p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Find foreclosed homes at 50% less.</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=45UzNXEcV9Szeo9qHdRXxr8A&ai=2&dt=1216924627375&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBkFVw08uISNKkKaq6zQXb7KC4CJeR4VHr1LLIBsCNtwHgrzkQAxgDIN_WjwYoBTgAUIL0x5P5_____wFgyYaAgNwjoAGdpNPwA7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA4UG9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fwww.hudforeclosed.com%2Fsave.do%253Fdiscount%253DH3030%26client%3Dca-aol-service_traveldestination_xml&cs=Tkv0hWIYH07s%2B27Pb%2BUa5z21eJc%3D" target="_blank">www.HUDforeclosed.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=45UzNXEcV9Szeo9qHdRXxr8A&ai=3&dt=1216924627375&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBCvQ708uISNKkKaq6zQXb7KC4CPPRzmyb7ba4BMCNtwGQ1icQBBgEIN_WjwYoBTgAUOO7ze8FYMmGgIDcI6ABlfvc9wOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvyAKbhMAIqAMB6AOFBvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.beatsliposuction.com%2Ftummytuck.asp%26client%3Dca-aol-service_traveldestination_xml&cs=S16aUzpuTIXUS9%2BywlOvNj3E%2FC4%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"> Tummy Tuck in <b>Kentucky</b>?</a> <p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Get a <b>Kentucky</b> tummy tuck OR get</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=45UzNXEcV9Szeo9qHdRXxr8A&ai=3&dt=1216924627375&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBCvQ708uISNKkKaq6zQXb7KC4CPPRzmyb7ba4BMCNtwGQ1icQBBgEIN_WjwYoBTgAUOO7ze8FYMmGgIDcI6ABlfvc9wOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvyAKbhMAIqAMB6AOFBvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.beatsliposuction.com%2Ftummytuck.asp%26client%3Dca-aol-service_traveldestination_xml&cs=S16aUzpuTIXUS9%2BywlOvNj3E%2FC4%3D" target="_blank">www-tummytuck.net</a> </div> </div> 1 0 4 1 4 SC4 http://switcher.dmn.aol.com/sw/a?squery=kentucky&ip=64.12.89.124&sch=ca-aol-service_traveldestination_xml&ssch=listings_hotel&snum=4&skw=kentucky http://switcher.dmn.aol.com/sw/r?ri=22qDMrfTovQMeOHHNgp1Im6g&ai=0&dt=1216924627362&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBXmIp08uISKHhKITqygWk3fDzCJv-hmXFprOJBsCNtwGQvwUQARgBIN_WjwYoBDgAUIjY8uD9_____wFgyQagAfXw1fIDsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL6gDAegDhQb1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D1%26ggladgrp%3D9086340866902504969%26gglcreat%3D12922618542395100263%26adurl%3Dhttp%3A%2F%2Ftry.alottoolbars.com%2Ftb%2Fmaps%2Fmaps_sideview.php%253Faff_id%253Dgooglefivenew%26client%3Dca-aol-service_traveldestination_xml&cs=KM5m0oDh8hssyvvk2lb9ONq%2BWrs%3D ppclick <b>Kentucky</b> Map Get Directions &amp; Maps of <b>Kentucky</b> Maps.alottoolbars.com with the Free and Easy Maps Toolbar http://switcher.dmn.aol.com/sw/r?ri=22qDMrfTovQMeOHHNgp1Im6g&ai=1&dt=1216924627362&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBjhsU08uISKHhKITqygWk3fDzCIf0lE7fzZ7GBcCNtwGg0RkQAhgCIN_WjwYoBDgAUOOnreAFYMkGsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL6gDAegDhQb1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.trulia.com%2Fsyndication%2F%253Fid%253DFGKY24B_C%2526url%253Dwww.trulia.com%2Ffor_sale%2FLouisville%2CKY%2Fforeclosure_lt%2F%26client%3Dca-aol-service_traveldestination_xml&cs=U5wZbLcS6mE9RkjfwiM0a5Gapm8%3D ppclick <b>Kentucky</b> Foreclosures Amazing Homes at fraction of the Trulia.com cost. <b>Kentucky</b> Foreclosures http://switcher.dmn.aol.com/sw/r?ri=22qDMrfTovQMeOHHNgp1Im6g&ai=2&dt=1216924627362&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB4UuW08uISKHhKITqygWk3fDzCJDKvl-EtK-AA8CNtwGglS0QAxgDIN_WjwYoBDgAUPq1qQlgyQayAQRudWxsyAEB2gEMaHR0cDovL251bGwvyAKAmM0DqAMB6AOFBvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fwww.realtor.com%2F%253Fsource%253Da15696%2526refcd%253DGO336203824c_kentucky_real_estate%2526gate%253Dgoogle%2526supads%253Dpup%2Cpun%2526tsacr%253DGO715243676%26client%3Dca-aol-service_traveldestination_xml&cs=QJXAZ6pJoHhD7OalISewp193o74%3D ppclick <b>Kentucky</b> Real Estate Search Free Real Estate Listings www.Realtor.com/KentuckyRealEstate by Price, Size, Location, &amp; More. http://switcher.dmn.aol.com/sw/r?ri=22qDMrfTovQMeOHHNgp1Im6g&ai=3&dt=1216924627362&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBCtO508uISKHhKITqygWk3fDzCMDN0U_StsD_A8CNtwHQjioQBBgEIN_WjwYoBDgAUPuT4qkCYMkGsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL6gDAegDhQb1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.HighGroveFarmandEstates.com%26client%3Dca-aol-service_traveldestination_xml&cs=uWg692oLPEa%2FNndD25bgKn2MgsY%3D ppclick New Oldham County Homes New Oldham County Home Sites www.HighGroveFarmandEstates.com Large Lots, 20 Acres of Green Space kentucky 1 10 Price -6940294266431086257 346 57 web kentucky kentucky http /web 80 travel.aol.com /destGuide/web GET 64.12.89.124 -1 eng HTTP/1.1 USA /destGuide http://travel.aol.com/destGuide/web 64.12.89.124 query=kentucky&hotelName=kentucky&start=1&end=10&minPrice=0&maxPrice=0&minRate=0&maxRate=0&order=asc&orderBy=Price&Rule=57&debug=2&dmnsch=ca-aol-service_traveldestination_xml&dmnssch=listings_hotel&skw=kentucky&listing=hotels_indirect -6940294266431086259 0 5 0 listings_hotel kentucky kentucky 0 asc 0 2 hotels_indirect ca-aol-service_traveldestination_xml kentucky 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 HotelListingIndirectSource lib_sponsor google_common_module HotelListingTopIndirectSource adsInfo url city state country city state country adsInfo 1 vss 3 adsInfo Source HotelListingIndirectSource url hotelName start end minPrice maxPrice minRate maxRate orderBy order hotelName start end minPrice maxPrice minRate maxRate orderBy order HotelListingIndirectSource 1 vss 3 VSS HotelListingIndirectSource 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 HotelListingTopIndirectSource url hotelName hotelName HotelListingTopIndirectSource 1 vss 3 VSS HotelListingTopIndirectSource Source kentucky hotelIndirectListingFilter.I inner DIRTY_VER.1 hotelIndirectListingFilter.I SourceConfiguration SourceConfiguration put min 1 optimal 5 max 20 name HotelListingTopIndirectSource false false http://travel.aol.com/destGuide/web?rt=1&id=hotelIndirectListingFilter.M false url hotelName hotelName HotelListingTopIndirectSource 1 vss 3 VSS HotelListingTopIndirectSource Source http://travel.aol.com/destGuide/web?rt=1&id=hotelIndirectListingFilter.M&minPrice=0&start=1&dmnssch=listings_hotel&end=10&maxPrice=0&orderBy=Price&order=asc&minRate=0&debug=2&userid=-6940294266431086257&Rule=57&listing=hotels_indirect&dmnsch=ca-aol-service_traveldestination_xml&query=kentucky&hotelName=kentucky&skw=kentucky&clickstreamid=-6940294266431086259&maxRate=0 HotelListingTopIndirectSource url hotelName hotelName HotelListingTopIndirectSource 1 vss 3 VSS HotelListingTopIndirectSource Source HotelListingTopIndirectSource defaultController hotelIndirectListingFilter.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="hotelName" select="/xmldoc/parameters/query" /> <xsl:variable name="restoreUrl" select="concat('http://', $serverAddr, '/', $request_Uri, '/', $hotelName, '-hotels-indirect')" /> <xsl:template name="indirectFilterModule"> <xsl:variable name="empty" /> <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/hotelName"/></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>&#160; </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>&#160; </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 id="seoDiv" style="display:none;"> <xsl:variable name="seoHrefStart" select="concat('http://', $serverAddr, '/', $request_Uri, '/', $hotelName, '-')" /> <xsl:variable name="seoHrefEnd">-1:10-ajax-seo-listing-hotel-indirect</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> <a href="{$seoHrefStart}CityName-ASC{$seoHrefEnd}">CityName Ascending</a> <a href="{$seoHrefStart}CityName-DESC{$seoHrefEnd}">CityName Descending</a> </div --> </xsl:template> <xsl:template match="/xmldoc/outcomes/HotelListingTopIndirectSource"> <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=57</xsl:with-param> <xsl:with-param name="with">Rule=58</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:stylesheet> DIRTY_VER.1 hotelIndirectListingFilter.M hotelIndirectListingFilter.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="hotelName" select="/xmldoc/parameters/query" /> <xsl:variable name="restoreUrl" select="concat('http://', $serverAddr, '/', $request_Uri, '/', $hotelName, '-hotels-indirect')" /> <xsl:template name="indirectFilterModule"> <xsl:variable name="empty" /> <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/hotelName"/></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>&#160; </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>&#160; </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 id="seoDiv" style="display:none;"> <xsl:variable name="seoHrefStart" select="concat('http://', $serverAddr, '/', $request_Uri, '/', $hotelName, '-')" /> <xsl:variable name="seoHrefEnd">-1:10-ajax-seo-listing-hotel-indirect</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> <a href="{$seoHrefStart}CityName-ASC{$seoHrefEnd}">CityName Ascending</a> <a href="{$seoHrefStart}CityName-DESC{$seoHrefEnd}">CityName Descending</a> </div --> </xsl:template> <xsl:template match="/xmldoc/outcomes/HotelListingTopIndirectSource"> <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=57</xsl:with-param> <xsl:with-param name="with">Rule=58</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:stylesheet> hotelIndirectListingFilter.MS view DIRTY_VER.1 hotelIndirectListingFilter.MS lib_sponsorlinks.I inner DIRTY_VER.1 lib_sponsorlinks.I SourceConfiguration SourceConfiguration put min 1 optimal 5 max 20 name lib_sponsor Adchange.I inner DIRTY_VER.1 Adchange.I SourceConfiguration SourceConfiguration put min 1 optimal 5 max 20 name adsInfo 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=-6940294266431086257&Rule=57&listing=hotels_indirect&dmnsch=ca-aol-service_traveldestination_xml&query=kentucky&hotelName=kentucky&skw=kentucky&clickstreamid=-6940294266431086259&maxRate=0 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 )&gt;= 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 )&gt;= 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=-6940294266431086257&Rule=57&listing=hotels_indirect&dmnsch=ca-aol-service_traveldestination_xml&query=kentucky&hotelName=kentucky&skw=kentucky&clickstreamid=-6940294266431086259&maxRate=0 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>&#160;</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>&#160;</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 min 1 optimal 5 max 20 name google_common_module 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=-6940294266431086257&Rule=57&listing=hotels_indirect&dmnsch=ca-aol-service_traveldestination_xml&query=kentucky&hotelName=kentucky&skw=kentucky&clickstreamid=-6940294266431086259&maxRate=0 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 hotelIndirectList.I inner DIRTY_VER.1 hotelIndirectList.I SourceConfiguration SourceConfiguration put min 1 optimal 5 max 20 name HotelListingIndirectSource false false http://travel.aol.com/destGuide/web?rt=1&id=hotelIndirectList.M false url hotelName start end minPrice maxPrice minRate maxRate orderBy order hotelName start end minPrice maxPrice minRate maxRate orderBy order HotelListingIndirectSource 1 vss 3 VSS HotelListingIndirectSource Source http://travel.aol.com/destGuide/web?rt=1&id=hotelIndirectList.M&minPrice=0&start=1&dmnssch=listings_hotel&end=10&maxPrice=0&orderBy=Price&order=asc&minRate=0&debug=2&userid=-6940294266431086257&Rule=57&listing=hotels_indirect&dmnsch=ca-aol-service_traveldestination_xml&query=kentucky&hotelName=kentucky&skw=kentucky&clickstreamid=-6940294266431086259&maxRate=0 HotelListingIndirectSource url hotelName start end minPrice maxPrice minRate maxRate orderBy order hotelName start end minPrice maxPrice minRate maxRate orderBy order HotelListingIndirectSource 1 vss 3 VSS HotelListingIndirectSource Source HotelListingIndirectSource defaultController hotelIndirectList.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="requestUri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" /> <xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" /> <xsl:variable name="hotelsCount"><xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/countHotels"/></xsl:variable> <xsl:template name="indirectListingModule"> <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:for-each select="/xmldoc/outcomes/HotelListingIndirectSource/results/item"> <xsl:variable name="hotelId"><xsl:value-of select="NTMHotelID" /></xsl:variable> <xsl:variable name="cityName"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="CityName"/> </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="Statename"/> </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="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="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">&amp;</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) &gt; 0"> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,'::', $hotelId,'-hotel-detail')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,'::', $hotelId,'-hotel-detail')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hotelDetReviewLink"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,'::reviews:', $hotelId,'-hotel-map-detail')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,'::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> <xsl:variable name="hotel_name"><xsl:value-of select="HotelName" /></xsl:variable> <div id="hotelInfodiv"> <div id="serialNo"> <xsl:call-template name="serialNo"> <xsl:with-param name="startNo"><xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/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) &gt; 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> <xsl:variable name="zip_code"> <xsl:if test="Zip != ''"> <xsl:choose> <xsl:when test="Country = 'United States'"> <xsl:text>,&#160;</xsl:text><xsl:value-of select="Zip"/> </xsl:when> <xsl:otherwise> <xsl:text>&#160;</xsl:text><xsl:value-of select="Zip"/> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:variable> <div id="contentAfterImg"> <div id="hotelName"> <a href="{$hotelDetLink}" title="{$hotel_name} - Features"><xsl:value-of select="HotelName"/></a> </div> <xsl:if test="Address1 != ''"> <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="Statename != ''"> <xsl:value-of select="CityName"/>, <xsl:value-of select="Statename"/><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) &gt; 0"> <div id="hotelPhone"> <xsl:choose> <xsl:when test="Country = 'United States'"> <xsl:choose> <xsl:when test="string-length(PhoneAC) &gt; 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) &gt; 0"> <xsl:if test="CountryDialCode != ''"><xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" />)&#160;</xsl:if><xsl:value-of select="PhoneAC" />-<xsl:value-of select="Phone"/> </xsl:when> <xsl:otherwise> <xsl:if test="CountryDialCode != ''"><xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" />)&#160;</xsl:if><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) &gt; 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) &gt; 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:variable name="queryTerm" select="/xmldoc/parameters/query" /> <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:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $queryTerm, ':')" /> </xsl:with-param> <xsl:with-param name="href_end">-hotel-indirect</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 &lt; 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) &lt; $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 match="/xmldoc/outcomes/HotelListingIndirectSource"> <script type="text/javascript" language="javascript"> var resultCnt = <xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/countHotels"/>; var startVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/start"/>; var endVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/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: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 &gt; 1">&#160; <a><xsl:attribute name="href"> <xsl:value-of select="concat($href_start, $prevStartVal, ':', $prevEndVal, $href_end)" /> </xsl:attribute>&lt;&lt;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 &lt;= number($numOfPages)">&#160; <a><xsl:attribute name="href"> <xsl:value-of select="concat($href_start, $nextStartVal, ':', $nextEndVal, $href_end)" /> </xsl:attribute>Next&gt;&gt;</a> </xsl:if> <!-- Next link for pagination ends --> </xsl:template> </xsl:stylesheet> DIRTY_VER.1 hotelIndirectList.M hotelIndirectList.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="requestUri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" /> <xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" /> <xsl:variable name="hotelsCount"><xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/countHotels"/></xsl:variable> <xsl:template name="indirectListingModule"> <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:for-each select="/xmldoc/outcomes/HotelListingIndirectSource/results/item"> <xsl:variable name="hotelId"><xsl:value-of select="NTMHotelID" /></xsl:variable> <xsl:variable name="cityName"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="CityName"/> </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="Statename"/> </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="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="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">&amp;</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) &gt; 0"> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,'::', $hotelId,'-hotel-detail')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,'::', $hotelId,'-hotel-detail')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hotelDetReviewLink"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,'::reviews:', $hotelId,'-hotel-map-detail')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,'::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> <xsl:variable name="hotel_name"><xsl:value-of select="HotelName" /></xsl:variable> <div id="hotelInfodiv"> <div id="serialNo"> <xsl:call-template name="serialNo"> <xsl:with-param name="startNo"><xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/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) &gt; 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> <xsl:variable name="zip_code"> <xsl:if test="Zip != ''"> <xsl:choose> <xsl:when test="Country = 'United States'"> <xsl:text>,&#160;</xsl:text><xsl:value-of select="Zip"/> </xsl:when> <xsl:otherwise> <xsl:text>&#160;</xsl:text><xsl:value-of select="Zip"/> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:variable> <div id="contentAfterImg"> <div id="hotelName"> <a href="{$hotelDetLink}" title="{$hotel_name} - Features"><xsl:value-of select="HotelName"/></a> </div> <xsl:if test="Address1 != ''"> <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="Statename != ''"> <xsl:value-of select="CityName"/>, <xsl:value-of select="Statename"/><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) &gt; 0"> <div id="hotelPhone"> <xsl:choose> <xsl:when test="Country = 'United States'"> <xsl:choose> <xsl:when test="string-length(PhoneAC) &gt; 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) &gt; 0"> <xsl:if test="CountryDialCode != ''"><xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" />)&#160;</xsl:if><xsl:value-of select="PhoneAC" />-<xsl:value-of select="Phone"/> </xsl:when> <xsl:otherwise> <xsl:if test="CountryDialCode != ''"><xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" />)&#160;</xsl:if><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) &gt; 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) &gt; 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:variable name="queryTerm" select="/xmldoc/parameters/query" /> <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:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $queryTerm, ':')" /> </xsl:with-param> <xsl:with-param name="href_end">-hotel-indirect</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 &lt; 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) &lt; $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 match="/xmldoc/outcomes/HotelListingIndirectSource"> <script type="text/javascript" language="javascript"> var resultCnt = <xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/countHotels"/>; var startVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/start"/>; var endVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingIndirectSource/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: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 &gt; 1">&#160; <a><xsl:attribute name="href"> <xsl:value-of select="concat($href_start, $prevStartVal, ':', $prevEndVal, $href_end)" /> </xsl:attribute>&lt;&lt;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 &lt;= number($numOfPages)">&#160; <a><xsl:attribute name="href"> <xsl:value-of select="concat($href_start, $nextStartVal, ':', $nextEndVal, $href_end)" /> </xsl:attribute>Next&gt;&gt;</a> </xsl:if> <!-- Next link for pagination ends --> </xsl:template> </xsl:stylesheet> hotelIndirectList.MS view DIRTY_VER.1 hotelIndirectList.MS relevance hotelIndirectListing.P page 57th 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) &gt; 0"> &amp;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) &gt; 0"> &amp;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) &gt; 0"> &amp;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) &gt; 0"> &amp;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) &gt; 0"> &amp;cont=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/continent"/> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="string-length($adcategoryvar) &gt; 0"> &amp;cat=hotel&amp;cat=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/category"/> </xsl:when> <xsl:otherwise>&amp;cat=hotel</xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="string-length($adactivityvar) &gt; 0"> <xsl:call-template name="split"> <xsl:with-param name="names" select="/xmldoc/outcomes/adsInfo/results/item/activities"/> </xsl:call-template> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:template name="split"> <xsl:param name="names"/> <xsl:variable name="first" select='substring-before($names,";")'/> <xsl:variable name="rest" select='substring-after($names,";")'/> <xsl:if test='$first'> &amp;act=<xsl:value-of select="$first"/> </xsl:if> <xsl:if test='$rest'> <xsl:call-template name='split'> <xsl:with-param name='names' select='$rest'/> </xsl:call-template> </xsl:if> <xsl:if test='not($rest)'> &amp;act=<xsl:value-of select='$names'/> </xsl:if> </xsl:template> <xsl:variable name="url-end"> <xsl:text>xslt/refreshAd.html?num=93226428&amp;width=728&amp;height=90</xsl:text> </xsl:variable> <xsl:variable name="bannerAd_url"> <xsl:value-of select="concat($docRootSubDir, '/', $url-end , $Adchangevar)"/> </xsl:variable> <xsl:variable name="jsURL"> <xsl:value-of select="concat($docRootSubDir, '/js/')"/> </xsl:variable> <xsl:variable name="imgURL"> <xsl:value-of select="concat($docRootSubDir, '/img/')"/> </xsl:variable> <xsl:variable name="_towerAd"> <xsl:text>xslt/refreshAd.html?num=93226429&amp;width=160&amp;height=600</xsl:text> </xsl:variable> <xsl:variable name="towerAd_url"> <xsl:value-of select="concat($docRootSubDir, '/', $_towerAd, $Adchangevar)"/> </xsl:variable> <xsl:variable name="cityvar"><xsl:value-of select="/xmldoc/parameters/city"/></xsl:variable> <xsl:variable name="statevar"><xsl:value-of select="/xmldoc/parameters/state"/></xsl:variable> <xsl:variable name="countryvar"><xsl:value-of select="/xmldoc/parameters/country"/></xsl:variable> <xsl:variable name="travelDestnationURL1" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'travelDestnationURL']" /> <xsl:variable name="destguidecrump"> <xsl:text>Destination Guides</xsl:text> <xsl:choose> <xsl:when test="string-length($countryvar) &gt; 0"> ,<xsl:value-of select="/xmldoc/parameters/country"/> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="string-length($statevar) &gt; 0"> ,<xsl:value-of select="/xmldoc/parameters/state"/> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="string-length($cityvar) &gt; 0"> ,<xsl:value-of select="/xmldoc/parameters/city"/> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="destguidecrumpurl"> <xsl:text>http://information.travel.aol.com/travel-guide</xsl:text> <xsl:choose> <xsl:when test="string-length($countryvar) &gt; 0"> ,http://information.travel.aol.com/travel-guide/ <xsl:call-template name="split1"> <xsl:with-param name="names" select="/xmldoc/parameters/country"/> </xsl:call-template> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="string-length($statevar) &gt; 0"> ,http://information.travel.aol.com/travel-guide/ <xsl:call-template name="split1"> <xsl:with-param name="names" select="/xmldoc/parameters/state"/> </xsl:call-template> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="string-length($cityvar) &gt; 0"> ,<xsl:value-of select="$travelDestnationURL1"/>/DestinationGuideServlet?query= <xsl:call-template name="split1"> <xsl:with-param name="names" select="/xmldoc/parameters/city"/> </xsl:call-template> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:template name="split1"> <xsl:param name="names"/> <xsl:variable name="first" select='substring-before($names," ")'/> <xsl:variable name="rest" select='substring-after($names," ")'/> <xsl:if test='$first'> <xsl:value-of select="$first"/>- </xsl:if> <xsl:if test='$rest'> <xsl:call-template name='split1'> <xsl:with-param name='names' select='$rest'/> </xsl:call-template> </xsl:if> <xsl:if test='not($rest)'> <xsl:value-of select='$names'/> </xsl:if> </xsl:template> <!-- Prabhu Bread Crumb Etc Code Ends --> <!-- Variables required for Page Title, Meta Keywords & Meta Description Starts --> <xsl:variable name="query_value"> <xsl:value-of select="/xmldoc/parameters/hotelName" /> </xsl:variable> <xsl:variable name="pageTitle"> <xsl:value-of select="concat('Hotels for ', $query_value, ' - AOL Travel')" /> </xsl:variable> <xsl:variable name="metaKeywords"> <xsl:value-of select="concat('Hotels for ', $query_value, ' AOL Travel')" /> </xsl:variable> <xsl:variable name="metaDescrtiption"> <xsl:value-of select="concat('Hotels for ', $query_value, ' AOL Travel')" /> </xsl:variable> <!-- Variables required for Page Title, Meta Keywords & Meta Description Ends --> <!-- page code starts here --> <xsl:template match="/"> <html> <head> <title><xsl:value-of select="$pageTitle" /></title> <meta name="keywords" content="{$metaKeywords}" /> <meta name="description" content="{$metaDescrtiption}" /> <script type="text/javascript" src="{$docRootSubDir}/js/pagination.js">pg</script> <script type="text/javascript" src="{$docRootSubDir}/dojo/dojo.js">dojo framework</script> <script type="text/javascript"> dojo.require("dojo.widget.LinkPane"); </script> <link rel="stylesheet" type="text/css" href="{$docRootSubDir}/css/hotelListing.css"/> <xsl:call-template name="header-footer-scripts"/> <xsl:apply-templates select="/xmldoc/outcomes/HotelListingTopIndirectSource" /> <xsl:apply-templates select="/xmldoc/parameters"/> <!--xsl:apply-templates select="/xmldoc/outcomes/HotelListingSource" / --> <script type="text/javascript" src="{$docRootSubDir}/js/indirectHotelListing.js">hljs</script> </head> <body> <div id="overAll_div"> <div id="bannerAd_div"> <xsl:call-template name="libAbBanner"> <xsl:with-param name="banner_width">728</xsl:with-param> <xsl:with-param name="banner_height">90</xsl:with-param> <xsl:with-param name="direction">horizontal</xsl:with-param> <xsl:with-param name="url"><xsl:value-of select="$bannerAd_url"/></xsl:with-param> <xsl:with-param name="margin-properties">2px</xsl:with-param> </xsl:call-template> </div> <div id="travelHeader_div"> <xsl:call-template name="header" /> </div> <div id="contentDiv"> <!-- Main Container Starts --> <div id="mainContainerDiv"> <!-- Div Containing Filters, Listing & Tower Ad Starts --> <!-- Filter, Hotel List & Paginations Starts --> <div id="leftContentDiv"> <!-- Filter Div Starts --> <div id="filterDiv"> <xsl:call-template name="indirectFilterModule"/> </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=57</xsl:with-param> <xsl:with-param name="with">Rule=58</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=""><content/></div> <div id="initContent"> <xsl:apply-templates select="/xmldoc/outcomes/HotelListingIndirectSource" /> <xsl:call-template name="indirectListingModule" /> </div> <!-- Hotel Listing Div Ends --> </div> <!-- Filter, Hotel List & Paginations Ends --> <!-- Tower AD Div (Right Hand Side) Starts --> <div id="rightContentDiv"> <xsl:call-template name="libAbBanner"> <xsl:with-param name = "banner_width">160</xsl:with-param> <xsl:with-param name = "banner_height">600</xsl:with-param> <xsl:with-param name = "direction">vertical</xsl:with-param> <xsl:with-param name = "margin-properties">2px</xsl:with-param> <xsl:with-param name = "border-properties">0</xsl:with-param> <xsl:with-param name = "background-color">#FFFFFF</xsl:with-param> <xsl:with-param name = "adv_label_needed">F</xsl:with-param> <xsl:with-param name="url"><xsl:value-of select="$towerAd_url"/></xsl:with-param> </xsl:call-template> </div> <!-- Tower AD Div (Right Hand Side) Ends --> </div> <!-- Main Container Ends --> </div> <!-- Div Containing Google Sponsered Links Starts --> <div id="googleSponseredDiv"> <xsl:call-template name="lib_sponsor_horizontal"> </xsl:call-template> </div> <!-- Div Containing Google Sponsered Links Ends --> <div id="travelFooter_div"> <xsl:call-template name="footer" /> </div> </div> <!-- omniture code starts here --> <xsl:call-template name="omnitureCode"> <xsl:with-param name="omniPageType">Main Page</xsl:with-param> <xsl:with-param name="omniCityState"></xsl:with-param> </xsl:call-template> <!-- omniture code ends here --> </body> </html> </xsl:template> <!-- page code ends here --> <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> <?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: Displaying Utility bar --> <xsl:template name="UtilityBar"> <xsl:param name="bc_titles" /> <xsl:param name="bc_urls" />