1 0 1 1 1 http://travel.aol.com/travel/AdMagicServlet?&query=Atsugi&start=1&num=10&page=1&country=Japan&city=Atsugi asia japan http://information.travel.aol.com/travel-guide/asia/japan 1 0 1 1 1 2 false 1 0 1 1 1 <div class=gsl' style="margin:0;padding:0;width:756px;height:110px;border:1px solid #BFC0C4; " > <h3 style="margin:5px;padding:0px;font-family:arial;color:#000;font-size:16px;">Sponsored Links</h3> <div style="float:left;padding:0px 3px;display:inline;width:183px;border-right:0 solid #E0DEC6;"> <a href="http://switcher.dmn.aol.com/sw/r?ri=76IRGKvI5LSeWY7%2FQ%2FBZgz4A&ai=0&dt=1215595680040&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBmBf4oIR0SIv-DIPazQWqiMnVAYbz8lLw7rWaBcCNtwHgxQgQARgBIN_WjwYoBDgAUJjorrr8_____wFgyYaAgNwjoAGY0774A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC_IAviwgwWoAwHoA-4C6APtBvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26ggladgrp%3D11261517663744813028%26gglcreat%3D10491298617285772858%26adurl%3Dhttp%3A%2F%2Fwww.JapanCupid.com%2F%253Fovchn%253DGGL%2526ovcpn%253DEnglish%252BUSA%252BJapan%252BWomen%2526ovcrn%253Djapan%252Bladies%2526ovtac%253DPPC%26client%3Dca-aol-service_traveldestination_xml&cs=J40B9dOAnFVFtuZEiLFlsp2yxOI%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"> Japan Women</a> <p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Meet Japanese Beauties Now.</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=76IRGKvI5LSeWY7%2FQ%2FBZgz4A&ai=0&dt=1215595680040&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBmBf4oIR0SIv-DIPazQWqiMnVAYbz8lLw7rWaBcCNtwHgxQgQARgBIN_WjwYoBDgAUJjorrr8_____wFgyYaAgNwjoAGY0774A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC_IAviwgwWoAwHoA-4C6APtBvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26ggladgrp%3D11261517663744813028%26gglcreat%3D10491298617285772858%26adurl%3Dhttp%3A%2F%2Fwww.JapanCupid.com%2F%253Fovchn%253DGGL%2526ovcpn%253DEnglish%252BUSA%252BJapan%252BWomen%2526ovcrn%253Djapan%252Bladies%2526ovtac%253DPPC%26client%3Dca-aol-service_traveldestination_xml&cs=J40B9dOAnFVFtuZEiLFlsp2yxOI%3D" target="_blank">www.JapanCupid.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=76IRGKvI5LSeWY7%2FQ%2FBZgz4A&ai=1&dt=1215595680040&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBAlyLoIR0SIv-DIPazQWqiMnVAaOK7COz_p-XA8CNtwHAkzgQAhgCIN_WjwYoBDgAULPgje39_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL6gDAegD7gLoA-0G9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.jamjapan.com%26client%3Dca-aol-service_traveldestination_xml&cs=d3h8w8sRbD%2BVijcAkkbD6Ph9N%2F4%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"> Develop business in Japan</a> <p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Experts in all industries to help</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=76IRGKvI5LSeWY7%2FQ%2FBZgz4A&ai=1&dt=1215595680040&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBAlyLoIR0SIv-DIPazQWqiMnVAaOK7COz_p-XA8CNtwHAkzgQAhgCIN_WjwYoBDgAULPgje39_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL6gDAegD7gLoA-0G9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.jamjapan.com%26client%3Dca-aol-service_traveldestination_xml&cs=d3h8w8sRbD%2BVijcAkkbD6Ph9N%2F4%3D" target="_blank">www.jamjapan.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=76IRGKvI5LSeWY7%2FQ%2FBZgz4A&ai=2&dt=1215595680040&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBgM8DoIR0SIv-DIPazQWqiMnVAcWy5EaR4omgA8CNtwGg_goQBRgFIN_WjwYoBDgAULKWwM_4_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAcgC3YPlBKgDAegD7gLoA-0G9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D5%26adurl%3Dhttp%3A%2F%2Fwww.japandriving.com%2F%26client%3Dca-aol-service_traveldestination_xml&cs=e3kOJhaNwvSkU6VfJTyWMJo0kn8%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"> Driving in Japan &amp;Okinawa</a> <p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Free Sample Written Driving Test</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=76IRGKvI5LSeWY7%2FQ%2FBZgz4A&ai=2&dt=1215595680040&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBgM8DoIR0SIv-DIPazQWqiMnVAcWy5EaR4omgA8CNtwGg_goQBRgFIN_WjwYoBDgAULKWwM_4_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAcgC3YPlBKgDAegD7gLoA-0G9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D5%26adurl%3Dhttp%3A%2F%2Fwww.japandriving.com%2F%26client%3Dca-aol-service_traveldestination_xml&cs=e3kOJhaNwvSkU6VfJTyWMJo0kn8%3D" target="_blank">www.japandriving.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=76IRGKvI5LSeWY7%2FQ%2FBZgz4A&ai=3&dt=1215595680040&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBrXZpoIR0SIv-DIPazQWqiMnVAdeZsTr377nGBMCNtwHQhgMQBBgEIN_WjwYoBDgAUMPFyK8CYMmGgIDcI7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA-4C6APtBvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.expatfocus.com%2Fexpatriate-japan-climate-weather%26client%3Dca-aol-service_traveldestination_xml&cs=0YKAyaPFoHaboKVyM4Pe7MMSKjc%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"> Japan - climate</a> <p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Read our free expat guide to the</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=76IRGKvI5LSeWY7%2FQ%2FBZgz4A&ai=3&dt=1215595680040&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBrXZpoIR0SIv-DIPazQWqiMnVAdeZsTr377nGBMCNtwHQhgMQBBgEIN_WjwYoBDgAUMPFyK8CYMmGgIDcI7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA-4C6APtBvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.expatfocus.com%2Fexpatriate-japan-climate-weather%26client%3Dca-aol-service_traveldestination_xml&cs=0YKAyaPFoHaboKVyM4Pe7MMSKjc%3D" target="_blank">www.ExpatFocus.com/Japan-weather</a> </div> </div> 1 0 2 1 2 null http://switcher.dmn.aol.com/sw/a?squery=Atsugi&ip=205.188.101.252&sch=ca-aol-service_traveldestination_xml&ssch=listings_hotel&snum=4&skw=Atsugi http://switcher.dmn.aol.com/sw/r?ri=02EJC19EyPQhaybusXrVx%2FHA&ai=0&dt=1215595680028&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBR3ZloIR0SKj-CqWUzAWKxYQthvPyUvDutZoFwI23AeDFCBABGAEg39aPBigCOABQmOiuuvz_____AWDJBqABmNO--AOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvyAL4sIMFqAMB6APuAugD7Qb1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D1%26ggladgrp%3D11261517663744813028%26gglcreat%3D10491298617285772858%26adurl%3Dhttp%3A%2F%2Fwww.JapanCupid.com%2F%253Fovchn%253DGGL%2526ovcpn%253DEnglish%252BUSA%252BJapan%252BWomen%2526ovcrn%253Djapan%252Bladies%2526ovtac%253DPPC%26client%3Dca-aol-service_traveldestination_xml&cs=nCOEaKAE4yq62NFl%2BcIvjuSC%2FyE%3D ppclick Japan Women Meet Japanese Beauties Now. www.JapanCupid.com Browse Photo Profiles. Join Free! http://switcher.dmn.aol.com/sw/r?ri=02EJC19EyPQhaybusXrVx%2FHA&ai=1&dt=1215595680028&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBwz5QoIR0SKj-CqWUzAWKxYQto4rsI7P-n5cDwI23AfCMNRACGAIg39aPBigCOABQs-CN7f3_____AWDJBrIBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA-4C6APtBvUDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.jamjapan.com%26client%3Dca-aol-service_traveldestination_xml&cs=ILXiPIKrQCiec1eL6MEjS22SPH8%3D ppclick Develop business in Japan Experts in all industries to help www.jamjapan.com your business succeed in Japan. 1 0 2 1 2 2 1 10 2-13-1, Nakacho Atsugi Royal Park Hotel 243-0018 210001 81 M54074 Atsugi 462 Japan 11 Izumicho Atsugi-shi Odakyu Atsugi Hotel 243-0018 281111 81 T21201 Atsugi 462 Japan Atsugi 1 10 Price 1864 1455558060783497703 47 web Atsugi Atsugi http /web 80 travel.aol.com /destGuide/web GET 205.188.101.252 -1 eng HTTP/1.1 USA /destGuide http://travel.aol.com/destGuide/web 205.188.101.252 query=Atsugi&city=Atsugi&country=Japan&start=1&end=10&minPrice=0&maxPrice=0&minRate=0&maxRate=0&order=asc&orderBy=Price&Rule=47&debug=2&cityId=9999881&dmnsch=ca-aol-service_traveldestination_xml&dmnssch=listings_hotel&skw=Atsugi&listing=hotels_direct 1455558060783497701 0 Atsugi 7 0 listings_hotel Atsugi Atsugi 0 asc 0 2 Japan hotels_direct ca-aol-service_traveldestination_xml 9999881 SANDBOX moduleLogger destGuideApp >UTF-8 / 8080 clickedItemURN abcdef src abcdef /search ./newshome /web ./web_idx /image ./newshome /imageDetails ./newshome /video ./newshome /audio ./newshome /browse ./newshome /news ./newshome /business ./newshome /sports ./newshome /entertainment ./newshome / ClickThrough websearch websearch searchType MS source google partner Google sponsored sponsored searchType SL source google partner Google searchType TTF source ttf adsInfo HotelListingTopSource lib_sponsor google_common_module HotelListingSource adsInfo url city state country city state country adsInfo 1 vss 3 adsInfo Source HotelListingTopSource url cityId city state country cityId city state country HotelListingTopSource 1 vss 3 VSS HotelListingTopSource Source lib_sponsor url dmnsch dmnssch skw dmnsch dmnssch skw lib_sponsor 1 lib_sponsor 3 sponsored links google_common_module url dmnsch dmnssch skw gls_limit layer_width dmnsch dmnssch skw gls_limit layer_width google_common_module 1 vss 3 s_common_module Source HotelListingSource url cityId city state country start end minPrice maxPrice minRate maxRate orderBy order cityId city state country start end minPrice maxPrice minRate maxRate orderBy order HotelListingSource 1 vss 3 VSS HotelListingSource Source Atsugi hotelListingFilter.I inner DIRTY_VER.1 hotelListingFilter.I SourceConfiguration SourceConfiguration put min 1 optimal 5 max 20 name HotelListingTopSource false false http://travel.aol.com/destGuide/web?rt=1&id=hotelListingFilter.M false url cityId city state country cityId city state country HotelListingTopSource 1 vss 3 VSS HotelListingTopSource Source http://travel.aol.com/destGuide/web?rt=1&id=hotelListingFilter.M&minPrice=0&start=1&dmnssch=listings_hotel&end=10&maxPrice=0&orderBy=Price&order=asc&minRate=0&debug=2&userid=1455558060783497703&Rule=47&country=Japan&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Atsugi&cityId=9999881&skw=Atsugi&clickstreamid=1455558060783497701&maxRate=0&city=Atsugi HotelListingTopSource url cityId city state country cityId city state country HotelListingTopSource 1 vss 3 VSS HotelListingTopSource Source HotelListingTopSource defaultController hotelListingFilter.M module <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" standalone="no"/> <xsl:variable name="request_Uri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" /> <xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" /> <xsl:variable name="cityName"> <xsl:call-template name="replace_char"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/city"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="stateName"> <xsl:call-template name="replace_char"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/state"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="countryName"> <xsl:call-template name="replace_char"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/country"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="cityId" select="/xmldoc/parameters/cityId" /> <xsl:variable name="restoreUrl"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, '-hotels')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $countryName, ':', $cityId, '-hotels')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:template name="filterListingModule"> <!-- Filter Div Starts --> <div id="filterDiv"> <div id="filter_headerRow"> <div id="filterHeader">Hotels</div> <div id="restoreLink" style="display:none;"><a href="{$restoreUrl}" title="Restore All Hotels">Restore All</a></div> </div> <div id="filter_resultNameDispRow"> Your Hotel Search: <span><xsl:value-of select="/xmldoc/parameters/city"/></span> </div> <div id="filter_instructionRow"> Adjust price and rating to narrow hotel results </div> <!-- Result Count, Sliders Div Starts --> <div id="filter_resultCountFilter"> <!-- Result Count Starts --> <div id="resultCount"> <div id="countNumber"><script type="text/javascript">document.write(resultCnt);</script></div> <div id="countTxt">hotels match your selection</div> </div> <!-- Result Count Ends --> <!-- Price Filter Div Starts --> <div id="filter1"> <div id="filter1_values"> <div id="minVal" class="floatLeft">$<script type="text/javascript">document.write(priceMinValue);</script></div> <div id="maxVal" class="floatRight">$<script type="text/javascript">document.write(priceMaxValue);</script></div> </div> <div id="slider1" style="width:136px;"> <div id="sliderImgLeft1" style="width:8px;cursor:pointer;" onmousedown="left_onMouseDownFn(event);"><content/></div> <div id="sliderImgRight1" style="width:8px;cursor:pointer;" onmousedown="right_onMouseDownFn(event);"><content/></div>&#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> <!-- Filter Div Ends --> <!-- Hotel Listing Div Starts --> <xsl:variable name="queryParams"> <xsl:call-template name="replace-string"> <xsl:with-param name="text" select="xmldoc/parameters/requestinfo/querystring"></xsl:with-param> <xsl:with-param name="replace">Rule=47</xsl:with-param> <xsl:with-param name="with">Rule=48</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="requestUri"><xsl:value-of select="xmldoc/parameters/requestinfo/requesturi"/></xsl:variable> <xsl:variable name="completeUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable> <!-- <div dojoType="LinkPane" id="listingDiv" executeScripts="true" href="{$completeUrl}"><content/> --> <div dojoType="LinkPane" id="listingDiv" executeScripts="true" href=""><content/></div> <div id="initialContent"> <xsl:apply-templates select="/xmldoc/outcomes/HotelListingSource" /> </div> <!-- Hotel Listing Div Ends --> <!-- Seo Url Div Starts --> <!-- div id="seoDiv" style="display:none;"> <xsl:variable name="seoHrefStart"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, '-')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $countryName, ':', $cityId, '-')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="seoHrefEnd">-1:10-ajax-seo-listing-hotel-direct</xsl:variable> <a href="{$seoHrefStart}Price-ASC{$seoHrefEnd}">Price Ascending</a> <a href="{$seoHrefStart}Price-DESC{$seoHrefEnd}">Price Descending</a> <a href="{$seoHrefStart}Rating-ASC{$seoHrefEnd}">Rating Ascending</a> <a href="{$seoHrefStart}Rating-DESC{$seoHrefEnd}">Rating Descending</a> <a href="{$seoHrefStart}HotelName-ASC{$seoHrefEnd}">HotelName Ascending</a> <a href="{$seoHrefStart}HotelName-DESC{$seoHrefEnd}">HotelName Descending</a> </div --> <!-- Seo Url Div Starts --> </xsl:template> <xsl:template match="/xmldoc/outcomes/HotelListingTopSource"> <script type="text/javascript" language="javascript"> <xsl:choose> <xsl:when test="minPrice != ''"> var priceMinValue = <xsl:value-of select="minPrice"/>; </xsl:when> <xsl:otherwise> var priceMinValue = 0; </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="maxPrice != ''"> var priceMaxValue = <xsl:value-of select="maxPrice"/>; </xsl:when> <xsl:otherwise> var priceMaxValue = 0; </xsl:otherwise> </xsl:choose> var resultCnt = <xsl:value-of select="countHotels"/>; var ratingVal = <xsl:value-of select="rating"/>; var imgSrc = '<xsl:value-of select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'resourcesDir']"/>'; </script> </xsl:template> <xsl:template match="/xmldoc/parameters"> <xsl:variable name="queryParams"> <xsl:call-template name="replace-string"> <xsl:with-param name="text" select="requestinfo/querystring"></xsl:with-param> <xsl:with-param name="replace">Rule=47</xsl:with-param> <xsl:with-param name="with">Rule=48</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="requestUri"><xsl:value-of select="requestinfo/requesturl"/></xsl:variable> <xsl:variable name="listUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable> <script type="text/javascript" language="javascript"> var sortyBy = '<xsl:value-of select="orderBy"/>'; var orderBy = '<xsl:value-of select="order"/>'; var startValue = <xsl:value-of select="start"/>; var endValue = <xsl:value-of select="end"/>; var listUrl = '<xsl:value-of select="$listUrl"/>'; </script> </xsl:template> <xsl:template name="replace-string"> <xsl:param name="text"/> <xsl:param name="replace"/> <xsl:param name="with"/> <xsl:choose> <xsl:when test="contains($text, $replace)"> <xsl:variable name="before" select="substring-before($text, $replace)"/> <xsl:variable name="after" select="substring-after($text, $replace)"/> <xsl:variable name="prefix" select="concat($before, $with)"/> <xsl:value-of select="concat($before,$with,$after)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$text"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet> DIRTY_VER.1 hotelListingFilter.M hotelListingFilter.MS <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" standalone="no"/> <xsl:variable name="request_Uri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" /> <xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" /> <xsl:variable name="cityName"> <xsl:call-template name="replace_char"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/city"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="stateName"> <xsl:call-template name="replace_char"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/state"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="countryName"> <xsl:call-template name="replace_char"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/country"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="cityId" select="/xmldoc/parameters/cityId" /> <xsl:variable name="restoreUrl"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, '-hotels')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $countryName, ':', $cityId, '-hotels')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:template name="filterListingModule"> <!-- Filter Div Starts --> <div id="filterDiv"> <div id="filter_headerRow"> <div id="filterHeader">Hotels</div> <div id="restoreLink" style="display:none;"><a href="{$restoreUrl}" title="Restore All Hotels">Restore All</a></div> </div> <div id="filter_resultNameDispRow"> Your Hotel Search: <span><xsl:value-of select="/xmldoc/parameters/city"/></span> </div> <div id="filter_instructionRow"> Adjust price and rating to narrow hotel results </div> <!-- Result Count, Sliders Div Starts --> <div id="filter_resultCountFilter"> <!-- Result Count Starts --> <div id="resultCount"> <div id="countNumber"><script type="text/javascript">document.write(resultCnt);</script></div> <div id="countTxt">hotels match your selection</div> </div> <!-- Result Count Ends --> <!-- Price Filter Div Starts --> <div id="filter1"> <div id="filter1_values"> <div id="minVal" class="floatLeft">$<script type="text/javascript">document.write(priceMinValue);</script></div> <div id="maxVal" class="floatRight">$<script type="text/javascript">document.write(priceMaxValue);</script></div> </div> <div id="slider1" style="width:136px;"> <div id="sliderImgLeft1" style="width:8px;cursor:pointer;" onmousedown="left_onMouseDownFn(event);"><content/></div> <div id="sliderImgRight1" style="width:8px;cursor:pointer;" onmousedown="right_onMouseDownFn(event);"><content/></div>&#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> <!-- Filter Div Ends --> <!-- Hotel Listing Div Starts --> <xsl:variable name="queryParams"> <xsl:call-template name="replace-string"> <xsl:with-param name="text" select="xmldoc/parameters/requestinfo/querystring"></xsl:with-param> <xsl:with-param name="replace">Rule=47</xsl:with-param> <xsl:with-param name="with">Rule=48</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="requestUri"><xsl:value-of select="xmldoc/parameters/requestinfo/requesturi"/></xsl:variable> <xsl:variable name="completeUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable> <!-- <div dojoType="LinkPane" id="listingDiv" executeScripts="true" href="{$completeUrl}"><content/> --> <div dojoType="LinkPane" id="listingDiv" executeScripts="true" href=""><content/></div> <div id="initialContent"> <xsl:apply-templates select="/xmldoc/outcomes/HotelListingSource" /> </div> <!-- Hotel Listing Div Ends --> <!-- Seo Url Div Starts --> <!-- div id="seoDiv" style="display:none;"> <xsl:variable name="seoHrefStart"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, '-')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://', $serverAddr, '/', $request_Uri, '/', $cityName, '-', $countryName, ':', $cityId, '-')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="seoHrefEnd">-1:10-ajax-seo-listing-hotel-direct</xsl:variable> <a href="{$seoHrefStart}Price-ASC{$seoHrefEnd}">Price Ascending</a> <a href="{$seoHrefStart}Price-DESC{$seoHrefEnd}">Price Descending</a> <a href="{$seoHrefStart}Rating-ASC{$seoHrefEnd}">Rating Ascending</a> <a href="{$seoHrefStart}Rating-DESC{$seoHrefEnd}">Rating Descending</a> <a href="{$seoHrefStart}HotelName-ASC{$seoHrefEnd}">HotelName Ascending</a> <a href="{$seoHrefStart}HotelName-DESC{$seoHrefEnd}">HotelName Descending</a> </div --> <!-- Seo Url Div Starts --> </xsl:template> <xsl:template match="/xmldoc/outcomes/HotelListingTopSource"> <script type="text/javascript" language="javascript"> <xsl:choose> <xsl:when test="minPrice != ''"> var priceMinValue = <xsl:value-of select="minPrice"/>; </xsl:when> <xsl:otherwise> var priceMinValue = 0; </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="maxPrice != ''"> var priceMaxValue = <xsl:value-of select="maxPrice"/>; </xsl:when> <xsl:otherwise> var priceMaxValue = 0; </xsl:otherwise> </xsl:choose> var resultCnt = <xsl:value-of select="countHotels"/>; var ratingVal = <xsl:value-of select="rating"/>; var imgSrc = '<xsl:value-of select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'resourcesDir']"/>'; </script> </xsl:template> <xsl:template match="/xmldoc/parameters"> <xsl:variable name="queryParams"> <xsl:call-template name="replace-string"> <xsl:with-param name="text" select="requestinfo/querystring"></xsl:with-param> <xsl:with-param name="replace">Rule=47</xsl:with-param> <xsl:with-param name="with">Rule=48</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="requestUri"><xsl:value-of select="requestinfo/requesturl"/></xsl:variable> <xsl:variable name="listUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable> <script type="text/javascript" language="javascript"> var sortyBy = '<xsl:value-of select="orderBy"/>'; var orderBy = '<xsl:value-of select="order"/>'; var startValue = <xsl:value-of select="start"/>; var endValue = <xsl:value-of select="end"/>; var listUrl = '<xsl:value-of select="$listUrl"/>'; </script> </xsl:template> <xsl:template name="replace-string"> <xsl:param name="text"/> <xsl:param name="replace"/> <xsl:param name="with"/> <xsl:choose> <xsl:when test="contains($text, $replace)"> <xsl:variable name="before" select="substring-before($text, $replace)"/> <xsl:variable name="after" select="substring-after($text, $replace)"/> <xsl:variable name="prefix" select="concat($before, $with)"/> <xsl:value-of select="concat($before,$with,$after)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$text"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet> hotelListingFilter.MS view DIRTY_VER.1 hotelListingFilter.MS lib_sponsorlinks.I inner DIRTY_VER.1 lib_sponsorlinks.I SourceConfiguration SourceConfiguration put 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=1455558060783497703&Rule=47&country=Japan&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Atsugi&cityId=9999881&skw=Atsugi&clickstreamid=1455558060783497701&maxRate=0&city=Atsugi 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=1455558060783497703&Rule=47&country=Japan&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Atsugi&cityId=9999881&skw=Atsugi&clickstreamid=1455558060783497701&maxRate=0&city=Atsugi 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=1455558060783497703&Rule=47&country=Japan&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Atsugi&cityId=9999881&skw=Atsugi&clickstreamid=1455558060783497701&maxRate=0&city=Atsugi google_common_module url dmnsch dmnssch skw gls_limit layer_width dmnsch dmnssch skw gls_limit layer_width google_common_module 1 vss 3 s_common_module Source google_common_module defaultController google_common_module.M module DIRTY_VER.1 google_common_module.M hotelList.I inner DIRTY_VER.1 hotelList.I SourceConfiguration SourceConfiguration put min 1 optimal 5 max 20 name HotelListingSource 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=hotelList.M false url cityId city state country start end minPrice maxPrice minRate maxRate orderBy order cityId city state country start end minPrice maxPrice minRate maxRate orderBy order HotelListingSource 1 vss 3 VSS HotelListingSource Source url city state country city state country adsInfo 1 vss 3 adsInfo Source http://travel.aol.com/destGuide/web?rt=1&id=hotelList.M&minPrice=0&start=1&dmnssch=listings_hotel&end=10&maxPrice=0&orderBy=Price&order=asc&minRate=0&debug=2&userid=1455558060783497703&Rule=47&country=Japan&listing=hotels_direct&dmnsch=ca-aol-service_traveldestination_xml&query=Atsugi&cityId=9999881&skw=Atsugi&clickstreamid=1455558060783497701&maxRate=0&city=Atsugi adsInfo url city state country city state country adsInfo 1 vss 3 adsInfo Source HotelListingSource url cityId city state country start end minPrice maxPrice minRate maxRate orderBy order cityId city state country start end minPrice maxPrice minRate maxRate orderBy order HotelListingSource 1 vss 3 VSS HotelListingSource Source HotelListingSource adsInfo defaultController hotelList.M module <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" standalone="no"/> <xsl:variable name="hotelsCount"><xsl:value-of select="/xmldoc/outcomes/HotelListingSource/countHotels"/></xsl:variable> <xsl:variable name="requestUri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" /> <xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" /> <xsl:variable name="cityName"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/city"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="stateName"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/state"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="countryName"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/country"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="cityId" select="/xmldoc/parameters/cityId" /> <xsl:template match="/xmldoc/outcomes/HotelListingSource"> <script type="text/javascript" language="javascript"> var resultCnt = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/countHotels"/>; var startVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/start"/>; var endVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/end"/>; var request_uri = "<xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/>"; var query_param = "<xsl:value-of select='/xmldoc/parameters/requestinfo/querystring'/>"; var requestURI = "<xsl:value-of select='$requestUri' />"; var serverName = "<xsl:value-of select='/xmldoc/parameters/requestinfo/servername' />"; var paginStr = getPaginationStr(resultCnt,startVal,endVal,request_uri,query_param, serverName, requestURI); </script> <xsl:variable name="requestUrl"><xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/></xsl:variable> <xsl:variable name="queryVal"><xsl:value-of select="/xmldoc/parameters/query"/></xsl:variable> <xsl:variable name="lowerCaseLetters">abcdefghijklmnopqrstuvwxyz</xsl:variable> <xsl:variable name="upperCaseLetters">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable> <xsl:variable name="state_name" > <xsl:if test="/xmldoc/parameters/country = 'United States'"> <xsl:value-of select="translate(/xmldoc/outcomes/adsInfo/results/item/state, $lowerCaseLetters, $upperCaseLetters)"/> </xsl:if> </xsl:variable> <xsl:for-each select="/xmldoc/outcomes/HotelListingSource/results/item"> <xsl:variable name="hotelId"><xsl:value-of select="NTMHotelID" /></xsl:variable> <xsl:variable name="hotel_name"><xsl:value-of select="HotelName" /></xsl:variable> <xsl:variable name="hotel_name_for_url1"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="HotelName"/> </xsl:with-param> <xsl:with-param name="replace">-</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url2"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url1"/> </xsl:with-param> <xsl:with-param name="replace">^</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url3"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url2"/> </xsl:with-param> <xsl:with-param name="replace">#</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url4"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url3"/> </xsl:with-param> <xsl:with-param name="replace">!</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url5"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url4"/> </xsl:with-param> <xsl:with-param name="replace">~</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url6"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url5"/> </xsl:with-param> <xsl:with-param name="replace">&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,':', $cityId,':', $hotelId,'-hotel-detail')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':', $hotelId,'-hotel-detail')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hotelDetReviewLink"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':reviews:', $hotelId,'-hotel-map-detail')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':reviews:', $hotelId,'-hotel-map-detail')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="imgUrl"> <xsl:choose> <xsl:when test="ImageURL != '' "> <xsl:value-of select="ImageURL"/> </xsl:when> <xsl:otherwise> <xsl:text>{$docRootSubDir}/img/hotel_blank_img.gif</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <div id="hotelInfodiv"> <div id="serialNo"> <xsl:call-template name="serialNo"> <xsl:with-param name="startNo"><xsl:value-of select="/xmldoc/outcomes/HotelListingSource/start" /></xsl:with-param> <xsl:with-param name="position"><xsl:value-of select="position()"/></xsl:with-param> </xsl:call-template> </div> <div id="imgAndContent"> <xsl:if test="string-length(ImageURL) &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> <div id="contentAfterImg"> <div id="hotelName"> <a href="{$hotelDetLink}" title="{$hotel_name} - Features"><xsl:value-of select="HotelName"/></a> </div> <xsl:variable name="zip_code"> <xsl:if test="Zip != ''"> <xsl:choose> <xsl:when test="Country = 'United States'"> <xsl:text>,&#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> <xsl:if test="string-length(Address1) &gt; 0"> <div id="hotelAddr"> <xsl:value-of select="Address1"/> </div> </xsl:if> <div id="hotelCity"> <xsl:choose> <xsl:when test="Country = 'United States'"> <xsl:choose> <xsl:when test="$state_name != ''"> <xsl:value-of select="CityName"/>, <xsl:value-of select="$state_name"/><xsl:value-of select="$zip_code"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="CityName"/><xsl:value-of select="$zip_code"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:value-of select="CityName"/>, <xsl:value-of select="Country"/><xsl:value-of select="$zip_code"/> </xsl:otherwise> </xsl:choose> </div> <xsl:if test="string-length(Phone) &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:text>+(</xsl:text><xsl:value-of select="CountryDialCode" /><xsl:text>) </xsl:text><xsl:value-of select="PhoneAC" />-<xsl:value-of select="Phone"/> </xsl:when> <xsl:otherwise> <xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" />) <xsl:value-of select="Phone"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </div> </xsl:if> <div id="hotelDetailsLink"> <a href="{$hotelDetLink}" title="{$hotel_name} - Details">Hotel Details</a> </div> </div> </div> <div id="ratingContentRight"> <xsl:choose> <xsl:when test="string-length(Rating) &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:call-template name="xslPagination"> <xsl:with-param name="pageNum" select="ceiling($startVal div 10)" /> <xsl:with-param name="noOfRecords" select="10" /> <xsl:with-param name="href_start"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, ':' )" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $cityName, '-', $countryName, ':', $cityId, ':')" /> </xsl:otherwise> </xsl:choose> </xsl:with-param> <xsl:with-param name="href_end">-hotellisting</xsl:with-param> </xsl:call-template> </div> </noscript> </xsl:template> <xsl:template name="starRatingLoop"> <xsl:param name="rating"/> <xsl:param name="count"/> <xsl:if test="$count &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 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 hotelList.M hotelList.MS <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" standalone="no"/> <xsl:variable name="hotelsCount"><xsl:value-of select="/xmldoc/outcomes/HotelListingSource/countHotels"/></xsl:variable> <xsl:variable name="requestUri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" /> <xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" /> <xsl:variable name="cityName"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/city"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="stateName"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/state"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="countryName"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="/xmldoc/parameters/country"/> </xsl:with-param> <xsl:with-param name="replace" select="' '"/> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="cityId" select="/xmldoc/parameters/cityId" /> <xsl:template match="/xmldoc/outcomes/HotelListingSource"> <script type="text/javascript" language="javascript"> var resultCnt = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/countHotels"/>; var startVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/start"/>; var endVal = <xsl:value-of select="/xmldoc/outcomes/HotelListingSource/end"/>; var request_uri = "<xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/>"; var query_param = "<xsl:value-of select='/xmldoc/parameters/requestinfo/querystring'/>"; var requestURI = "<xsl:value-of select='$requestUri' />"; var serverName = "<xsl:value-of select='/xmldoc/parameters/requestinfo/servername' />"; var paginStr = getPaginationStr(resultCnt,startVal,endVal,request_uri,query_param, serverName, requestURI); </script> <xsl:variable name="requestUrl"><xsl:value-of select='/xmldoc/parameters/requestinfo/requesturl'/></xsl:variable> <xsl:variable name="queryVal"><xsl:value-of select="/xmldoc/parameters/query"/></xsl:variable> <xsl:variable name="lowerCaseLetters">abcdefghijklmnopqrstuvwxyz</xsl:variable> <xsl:variable name="upperCaseLetters">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable> <xsl:variable name="state_name" > <xsl:if test="/xmldoc/parameters/country = 'United States'"> <xsl:value-of select="translate(/xmldoc/outcomes/adsInfo/results/item/state, $lowerCaseLetters, $upperCaseLetters)"/> </xsl:if> </xsl:variable> <xsl:for-each select="/xmldoc/outcomes/HotelListingSource/results/item"> <xsl:variable name="hotelId"><xsl:value-of select="NTMHotelID" /></xsl:variable> <xsl:variable name="hotel_name"><xsl:value-of select="HotelName" /></xsl:variable> <xsl:variable name="hotel_name_for_url1"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="HotelName"/> </xsl:with-param> <xsl:with-param name="replace">-</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url2"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url1"/> </xsl:with-param> <xsl:with-param name="replace">^</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url3"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url2"/> </xsl:with-param> <xsl:with-param name="replace">#</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url4"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url3"/> </xsl:with-param> <xsl:with-param name="replace">!</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url5"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url4"/> </xsl:with-param> <xsl:with-param name="replace">~</xsl:with-param> <xsl:with-param name="with">+</xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="hotel_name_for_url6"> <xsl:call-template name="replace_charList"> <xsl:with-param name="text"> <xsl:value-of select="$hotel_name_for_url5"/> </xsl:with-param> <xsl:with-param name="replace">&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,':', $cityId,':', $hotelId,'-hotel-detail')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':', $hotelId,'-hotel-detail')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hotelDetReviewLink"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':reviews:', $hotelId,'-hotel-map-detail')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,'-', $hotel_name_for_url,':', $cityId,':reviews:', $hotelId,'-hotel-map-detail')" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="imgUrl"> <xsl:choose> <xsl:when test="ImageURL != '' "> <xsl:value-of select="ImageURL"/> </xsl:when> <xsl:otherwise> <xsl:text>{$docRootSubDir}/img/hotel_blank_img.gif</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <div id="hotelInfodiv"> <div id="serialNo"> <xsl:call-template name="serialNo"> <xsl:with-param name="startNo"><xsl:value-of select="/xmldoc/outcomes/HotelListingSource/start" /></xsl:with-param> <xsl:with-param name="position"><xsl:value-of select="position()"/></xsl:with-param> </xsl:call-template> </div> <div id="imgAndContent"> <xsl:if test="string-length(ImageURL) &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> <div id="contentAfterImg"> <div id="hotelName"> <a href="{$hotelDetLink}" title="{$hotel_name} - Features"><xsl:value-of select="HotelName"/></a> </div> <xsl:variable name="zip_code"> <xsl:if test="Zip != ''"> <xsl:choose> <xsl:when test="Country = 'United States'"> <xsl:text>,&#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> <xsl:if test="string-length(Address1) &gt; 0"> <div id="hotelAddr"> <xsl:value-of select="Address1"/> </div> </xsl:if> <div id="hotelCity"> <xsl:choose> <xsl:when test="Country = 'United States'"> <xsl:choose> <xsl:when test="$state_name != ''"> <xsl:value-of select="CityName"/>, <xsl:value-of select="$state_name"/><xsl:value-of select="$zip_code"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="CityName"/><xsl:value-of select="$zip_code"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:value-of select="CityName"/>, <xsl:value-of select="Country"/><xsl:value-of select="$zip_code"/> </xsl:otherwise> </xsl:choose> </div> <xsl:if test="string-length(Phone) &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:text>+(</xsl:text><xsl:value-of select="CountryDialCode" /><xsl:text>) </xsl:text><xsl:value-of select="PhoneAC" />-<xsl:value-of select="Phone"/> </xsl:when> <xsl:otherwise> <xsl:text>+(</xsl:text><xsl:value-of select="CountryDialCode" />) <xsl:value-of select="Phone"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </div> </xsl:if> <div id="hotelDetailsLink"> <a href="{$hotelDetLink}" title="{$hotel_name} - Details">Hotel Details</a> </div> </div> </div> <div id="ratingContentRight"> <xsl:choose> <xsl:when test="string-length(Rating) &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:call-template name="xslPagination"> <xsl:with-param name="pageNum" select="ceiling($startVal div 10)" /> <xsl:with-param name="noOfRecords" select="10" /> <xsl:with-param name="href_start"> <xsl:choose> <xsl:when test="string-length($stateName) &gt; 0"> <xsl:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $cityName, '-', $stateName, '-', $countryName, ':', $cityId, ':' )" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('http://', $serverAddr, '/', $requestUri, '/', $cityName, '-', $countryName, ':', $cityId, ':')" /> </xsl:otherwise> </xsl:choose> </xsl:with-param> <xsl:with-param name="href_end">-hotellisting</xsl:with-param> </xsl:call-template> </div> </noscript> </xsl:template> <xsl:template name="starRatingLoop"> <xsl:param name="rating"/> <xsl:param name="count"/> <xsl:if test="$count &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 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> hotelList.MS view DIRTY_VER.1 hotelList.MS relevance hotelListing.P page 47th rule <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" standalone="no" /> <!-- global variables starts here --> <xsl:variable name="docRootSubDir" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'resourcesDir']" /> <!-- global variables ends here --> <!-- Prabhu Bread Crumb Etc Code Starts --> <xsl:variable name="addmavar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/dma"/></xsl:variable> <xsl:variable name="adcontinentvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/continent"/></xsl:variable> <xsl:variable name="adcountryvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/country"/></xsl:variable> <xsl:variable name="adstatevar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/state"/></xsl:variable> <xsl:variable name="adcityvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/city"/></xsl:variable> <xsl:variable name="adcategoryvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/category"/></xsl:variable> <xsl:variable name="adactivityvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/activities"/></xsl:variable> <xsl:variable name="Adchangevar"> <xsl:choose> <xsl:when test="string-length($adcityvar) &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: