Catalogue Default Page Frame Nikon Latvija - Preces
false
-ls-pt-lo-def- -ls-pt-lo-def-
      
    
    
  
  
    
      
      redesign
      corporate_header_block
      corporate_header_block
      
      
        
        21600
        
        960
        90
        20
        20
        0
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/corporate_header_block/data/header
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.nikon.utils.migfrmts.HeaderBuilder
          buildHeader
        
      
      
        redesign
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: Redesign (Default Browser Types) --> <!-- $Rev: 1472 $ --> <xsl:template match="/"> <!-- HEADER --> <div id="header" style="margin: 0 0 21px 0;"> <!-- TOP MENU --> <div id="topMenu"> <ul> <xsl:for-each select="//Result/staticcontent/header/geolocation"> <li> <xsl:value-of select="part"/> </li> <xsl:if test="position() != last()"> <li>|</li> </xsl:if> </xsl:for-each> </ul> </div> <!-- END TOP MENU --> <h1> <img> <xsl:attribute name="alt"> <xsl:value-of select="//Result/locale_dictionary/nbv/type/string[@name='corporate_header_block.logoImageAltText']"/> </xsl:attribute> <xsl:attribute name="src"><xsl:text>/</xsl:text><xsl:value-of select="//Result/staticcontent/header/corporatelogo"/></xsl:attribute> </img> </h1> <ul class="corporate"> <xsl:for-each select="//Result/staticcontent/header/lowerlinks"> <!-- declare href variable --> <xsl:variable name="href"> <xsl:value-of select="link"/> </xsl:variable> <!-- make href --> <xsl:if test="$href != ''"> <li> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text><xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')"/><xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')"/> </xsl:when> <xsl:otherwise><xsl:value-of select="$href"/></xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:value-of select="userlink"/> </a> </li> </xsl:if> </xsl:for-each> <xsl:variable name="id"> <xsl:value-of select="//Result/staticcontent/header/language_selector/language/language_code"/> </xsl:variable> <xsl:variable name="name"> <xsl:value-of select="//Result/staticcontent/header/language_selector/language/language_code"/> </xsl:variable> <xsl:for-each select="//Result/staticcontent/header/language_selector"> <!-- All sites will have one language option. Multi-language sites will have more --> <!-- We only want to display the 'other' languages as links however, so define first as site language --> <!-- and subsiquent ones as options. Hide site language from header and only show the switch-to options as links --> <xsl:if test="position() > 1"> <xsl:variable name="href"> <xsl:value-of select="language_code"/> </xsl:variable> <li> <a> <xsl:attribute name="name"><xsl:value-of select="language_code"/></xsl:attribute> <xsl:attribute name="id"><xsl:value-of select="language_code"/></xsl:attribute> <xsl:attribute name="href">/<xsl:value-of select="language_code"/>/home.page</xsl:attribute> <xsl:value-of select="language"/> </a> </li> </xsl:if> </xsl:for-each> </ul> </div> <!-- END HEADER --> </xsl:template> </xsl:stylesheet>
      
      
        Default
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: Default (Default Browser Type) --> <!-- $Rev: 1472 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <xsl:template match="/"> <div id="div_header"> <div id="div_logo"> <img alt="Nikon at the heart of the image"> <xsl:attribute name="src"> <xsl:value-of select="//Result/staticcontent/header/corporatelogo"/> </xsl:attribute> </img> </div> <!-- search input--> <div id="div_search" style="left: 0px; top: 0px"> <div id="div_Header_locator"> <xsl:value-of select="//Result/staticcontent/header/geolocation"/> </div> <div id="div_header_lowerlinks"> <xsl:for-each select="//Result/staticcontent/header/lowerlinks"> <div class="div_header_link"> <!-- declare href variable --> <xsl:variable name="href"> <xsl:value-of select="link"/> </xsl:variable> <!-- make href --> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <span class="header_link_img"> <xsl:value-of select="userlink"/> </span> </a> </div> </xsl:for-each> </div> </div> </div> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign_3_banners
      banner-SLR
      product_category_banner_selector
      
      
        
        0
        
        718
        151
        200
        262
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/product_category_banner_selector/data/MainPage_DigitalSLR_2009_ContentLoading
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.nikon.utils.migfrmts.FlashCatBuilder
          buildFlashCat
        
      
      
        redesign_3_banners
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_3_banners (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <!-- BLOCKS CATALOGUE --> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie2,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile2"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link2paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link2params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,$link2paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width2"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height2"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,//Result/staticcontent/content/link2params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width2"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height2"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie2"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie3,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile3"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link3paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link3params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,$link3paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width3"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height3"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,//Result/staticcontent/content/link3params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title="" width="166" height="131"> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width3"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height3"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie3"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
      
        redesign_1_banner
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_1_banner (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> </object> </xsl:when> <xsl:otherwise> <a> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)"/> </xsl:variable> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX/<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> <!-- END BLOCKS CATALOGUE --> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign_1_banner
      banner-software
      product_category_banner_selector
      
      
        
        0
        
        718
        151
        770
        262
        0
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/product_category_banner_selector/data/MainPage_Software_2009_ContentLoading
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.nikon.utils.migfrmts.FlashCatBuilder
          buildFlashCat
        
      
      
        redesign_3_banners
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_3_banners (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <!-- BLOCKS CATALOGUE --> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie2,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile2"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link2paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link2params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,$link2paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width2"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height2"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,//Result/staticcontent/content/link2params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width2"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height2"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie2"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie3,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile3"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link3paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link3params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,$link3paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width3"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height3"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,//Result/staticcontent/content/link3params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title="" width="166" height="131"> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width3"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height3"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie3"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
      
        redesign_1_banner
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_1_banner (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> </object> </xsl:when> <xsl:otherwise> <a> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)"/> </xsl:variable> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX/<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> <!-- END BLOCKS CATALOGUE --> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign
      title-software
      category_title_bar
      
      
        
        0
        
        718
        20
        750
        260
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/category_title_bar/data/category_title_software
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.interwoven.teamsite.nikon.components.ComponentHelper
          getLocalisedDCR
        
      
      
        redesign
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign (Default Browser Type) --> <!-- $Rev: 1576 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <xsl:template match="/"> <div class="block_catalogue"> <h2> <xsl:for-each select="//Result/staticcontent/titles/links"> <xsl:variable name="href"> <xsl:choose> <xsl:when test="link = ''">#</xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="contains(link, '/sites/') and contains(link, '.page')"><xsl:text>$PAGE_LINK[</xsl:text><xsl:value-of select="substring-before(substring-after(substring-after(link, '/sites/'), '/'), '.page')" /><xsl:text>]</xsl:text><xsl:value-of select="substring-after(link, '?')" /></xsl:when> <xsl:otherwise><xsl:value-of select="link"/></xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:variable> <a> <xsl:attribute name="href"><xsl:value-of select="$href"/></xsl:attribute> <xsl:value-of select="userlinktext"/> <xsl:if test="position() != last()"> <xsl:text disable-output-escaping="yes">&amp;nbsp;|&amp;nbsp;</xsl:text> </xsl:if> </a> </xsl:for-each> </h2> </div> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign
      corporate_footer_block
      corporate_footer_block
      
      
        
        21600
        
        960
        70
        1150
        12
        0
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/corporate_footer_block/data/footer
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.nikon.utils.migfrmts.FooterBuilder
          buildFooter
        
      
      
        redesign
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign (Default Browser Type) --> <!-- $Rev: 1055 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <xsl:template match="/"> <!-- FOOTER --> <div id="footer" style="float: left; clear: both; margin: 35px 0 0 0;"> <h2> <xsl:value-of select="//Result/staticcontent/footer/geolocation"/> </h2> <ul> <xsl:for-each select="//Result/staticcontent/footer/lowerlinks"> <li> <a> <xsl:variable name="href"> <xsl:value-of select="link"/> </xsl:variable> <xsl:attribute name="href"><xsl:choose><xsl:when test="contains($href, '/sites/') and contains($href, '.page')"><xsl:text>$PAGE_LINK[</xsl:text><xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')"/><xsl:text>]</xsl:text><xsl:value-of select="substring-after($href, '?')"/></xsl:when><xsl:otherwise><xsl:value-of select="$href"/></xsl:otherwise></xsl:choose></xsl:attribute> <xsl:value-of select="userlink"/> </a> </li> </xsl:for-each> </ul> <p class="copyright"> <xsl:value-of select="//Result/locale_dictionary/nbv/type/string[@name='corporate_footer_block.copyright']"/> <xsl:text> </xsl:text> <xsl:value-of select="//Result/staticcontent/CurrYear"/> <xsl:text> </xsl:text> <xsl:value-of select="//Result/staticcontent/footer/copyright"/> </p> </div> <!-- END FOOTER --> </xsl:template> </xsl:stylesheet>
      
      
        Default
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: Default (Default Browser Type) --> <!-- $Rev: 1055 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <xsl:template match="/"> <div id="div_footer"> <div id="div_footertop"> <xsl:value-of select="//Result/staticcontent/footer/geolocation"/> </div> <div id="div_footerbottom"> <div id="div_footerlinks"> <xsl:for-each select="//Result/staticcontent/footer/lowerlinks"> <div class="div_f_link"> <!-- declare href variable --> <xsl:variable name="href"> <xsl:value-of select="link"/> </xsl:variable> <!-- make href --> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <span class="footer_link_img"> <xsl:value-of select="userlink"/> </span> </a> </div> </xsl:for-each> </div> <div id="div_footer_copy"> Copyright © &nbsp;<xsl:value-of select="//Result/staticcontent/CurrYear"/> &nbsp;<xsl:value-of select="//Result/staticcontent/footer/copyright"/> </div> </div> </div> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign
      title-COOLPIX
      category_title_bar
      
      
        
        0
        
        718
        20
        371
        262
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/category_title_bar/data/category_title_COOLPIX
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.interwoven.teamsite.nikon.components.ComponentHelper
          getLocalisedDCR
        
      
      
        redesign
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign (Default Browser Type) --> <!-- $Rev: 1576 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <xsl:template match="/"> <div class="block_catalogue"> <h2> <xsl:for-each select="//Result/staticcontent/titles/links"> <xsl:variable name="href"> <xsl:choose> <xsl:when test="link = ''">#</xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="contains(link, '/sites/') and contains(link, '.page')"><xsl:text>$PAGE_LINK[</xsl:text><xsl:value-of select="substring-before(substring-after(substring-after(link, '/sites/'), '/'), '.page')" /><xsl:text>]</xsl:text><xsl:value-of select="substring-after(link, '?')" /></xsl:when> <xsl:otherwise><xsl:value-of select="link"/></xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:variable> <a> <xsl:attribute name="href"><xsl:value-of select="$href"/></xsl:attribute> <xsl:value-of select="userlinktext"/> <xsl:if test="position() != last()"> <xsl:text disable-output-escaping="yes">&amp;nbsp;|&amp;nbsp;</xsl:text> </xsl:if> </a> </xsl:for-each> </h2> </div> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign_3_banners
      banner-lenses
      product_category_banner_selector
      
      
        
        0
        
        718
        151
        582
        262
        0
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/product_category_banner_selector/data/MainPage_Lenses_2009_ContentLoading
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.nikon.utils.migfrmts.FlashCatBuilder
          buildFlashCat
        
      
      
        redesign_3_banners
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_3_banners (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <!-- BLOCKS CATALOGUE --> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie2,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile2"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link2paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link2params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,$link2paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width2"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height2"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,//Result/staticcontent/content/link2params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width2"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height2"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie2"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie3,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile3"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link3paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link3params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,$link3paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width3"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height3"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,//Result/staticcontent/content/link3params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title="" width="166" height="131"> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width3"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height3"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie3"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
      
        redesign_1_banner
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_1_banner (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> </object> </xsl:when> <xsl:otherwise> <a> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)"/> </xsl:variable> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX/<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> <!-- END BLOCKS CATALOGUE --> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign
      title-SLR
      category_title_bar
      
      
        
        0
        
        718
        20
        180
        262
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/category_title_bar/data/category_title_SLR
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.interwoven.teamsite.nikon.components.ComponentHelper
          getLocalisedDCR
        
      
      
        redesign
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign (Default Browser Type) --> <!-- $Rev: 1576 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <xsl:template match="/"> <div class="block_catalogue"> <h2> <xsl:for-each select="//Result/staticcontent/titles/links"> <xsl:variable name="href"> <xsl:choose> <xsl:when test="link = ''">#</xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="contains(link, '/sites/') and contains(link, '.page')"><xsl:text>$PAGE_LINK[</xsl:text><xsl:value-of select="substring-before(substring-after(substring-after(link, '/sites/'), '/'), '.page')" /><xsl:text>]</xsl:text><xsl:value-of select="substring-after(link, '?')" /></xsl:when> <xsl:otherwise><xsl:value-of select="link"/></xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:variable> <a> <xsl:attribute name="href"><xsl:value-of select="$href"/></xsl:attribute> <xsl:value-of select="userlinktext"/> <xsl:if test="position() != last()"> <xsl:text disable-output-escaping="yes">&amp;nbsp;|&amp;nbsp;</xsl:text> </xsl:if> </a> </xsl:for-each> </h2> </div> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign_1_banner
      banner-sportoptics
      product_category_banner_selector
      
      
        
        0
        
        718
        151
        964
        262
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/product_category_banner_selector/data/MainPage_SoprtOptics_2009_ContentLoading
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.nikon.utils.migfrmts.FlashCatBuilder
          buildFlashCat
        
      
      
        redesign_3_banners
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_3_banners (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <!-- BLOCKS CATALOGUE --> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie2,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile2"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link2paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link2params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,$link2paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width2"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height2"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,//Result/staticcontent/content/link2params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width2"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height2"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie2"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie3,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile3"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link3paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link3params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,$link3paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width3"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height3"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,//Result/staticcontent/content/link3params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title="" width="166" height="131"> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width3"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height3"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie3"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
      
        redesign_1_banner
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_1_banner (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> </object> </xsl:when> <xsl:otherwise> <a> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)"/> </xsl:variable> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX/<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> <!-- END BLOCKS CATALOGUE --> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign_3_banners
      banner-COOLPIX
      product_category_banner_selector
      
      
        
        0
        
        718
        151
        391
        262
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/product_category_banner_selector/data/MainPage_COOLPIX_2009_ContentLoading
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.nikon.utils.migfrmts.FlashCatBuilder
          buildFlashCat
        
      
      
        redesign_3_banners
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_3_banners (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <!-- BLOCKS CATALOGUE --> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link1params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link1params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie2,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile2"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link2paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link2params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,$link2paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width2"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height2"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie2"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link2params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile2) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link2,//Result/staticcontent/content/link2params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link2params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link2params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width2"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height2"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie2"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie3,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile3"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link3paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link3params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,$link3paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width3"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height3"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '%3F')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie3"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link3params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile3) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> <param name="wmode" value="transparent"/> </object> </xsl:when> <xsl:otherwise> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link3,//Result/staticcontent/content/link3params)" /> </xsl:variable> <a> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="//Result/staticcontent/content/link3params !=''"> <xsl:text>?</xsl:text> <xsl:value-of select="//Result/staticcontent/content/link3params"/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title="" width="166" height="131"> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width3"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height3"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX<xsl:value-of select="//Result/staticcontent/content/movie3"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
      
        redesign_1_banner
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign_1_banner (Default Browser Type) --> <!-- $Rev: 1387 $ --> <xsl:template match="/"> <xsl:variable name="componentId" select="/Properties/@ComponentID"/> <div class="block" style="float:none; overflow:hidden"> <ul> <li> <xsl:choose> <xsl:when test="contains(//Result/staticcontent/content/movie1,'.swf')"> <xsl:variable name="language"><xsl:value-of select="substring-before(Properties/Data/Result/staticcontent/@requestedLocale,'_')"/></xsl:variable> <xsl:variable name="locale"><xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/></xsl:variable> <xsl:variable name="firstxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/xmlFile1"/> <xsl:with-param name="find"><xsl:text>[language]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$language"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="finalxmlfile"> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="$firstxmlfile"/> <xsl:with-param name="find"><xsl:text>[locale]</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:value-of select="$locale"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="link1paramsencoded"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="//Result/staticcontent/content/link1params"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,$link1paramsencoded)" /> </xsl:variable> <object type="application/x-shockwave-flash"> <xsl:attribute name="style"> <xsl:text>width:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/width1"/> <xsl:text>px; </xsl:text> <xsl:text>height:</xsl:text> <xsl:value-of select="//Result/staticcontent/content/height1"/> <xsl:text>px;</xsl:text> </xsl:attribute> <xsl:attribute name="data"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"> <xsl:text>/</xsl:text> <xsl:value-of select="//Result/staticcontent/content/movie1"/> <xsl:text>?locale=</xsl:text> <xsl:value-of select="Properties/Data/Result/staticcontent/@requestedLocale"/> <xsl:if test="string-length($href) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;url_1=</xsl:text> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="//Result/staticcontent/content/link1params"/> <xsl:with-param name="find"><xsl:text disable-output-escaping="yes">&amp;</xsl:text></xsl:with-param> <xsl:with-param name="replace"><xsl:text>%26</xsl:text></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="string-length(//Result/staticcontent/content/xmlFile1) &gt; 0"> <xsl:text disable-output-escaping="yes">&amp;xmlFile=</xsl:text> <xsl:if test="contains($finalxmlfile,'imported/')"> <xsl:text>/</xsl:text> </xsl:if> <xsl:value-of select="$finalxmlfile"/> </xsl:if> </xsl:attribute> </param> <param name="quality" value="high"/> </object> </xsl:when> <xsl:otherwise> <a> <xsl:variable name="href"> <xsl:value-of select="concat(//Result/staticcontent/content/link1,//Result/staticcontent/content/link1params)"/> </xsl:variable> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($href, '/sites/') and contains($href, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($href, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($href, '?')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <img alt="" title=""> <xsl:attribute name="width"> <xsl:value-of select="//Result/staticcontent/content/width1"/> </xsl:attribute> <xsl:attribute name="height"> <xsl:value-of select="//Result/staticcontent/content/height1"/> </xsl:attribute> <xsl:attribute name="src">$URL_PREFIX/<xsl:value-of select="//Result/staticcontent/content/movie1"/> </xsl:attribute> </img> </a> </xsl:otherwise> </xsl:choose> </li> </ul> </div> <!-- END BLOCKS CATALOGUE --> </xsl:template> <xsl:variable name="ascii"> !"#$%&amp;'()*+,-./0123456789:;&lt;=&gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~</xsl:variable> <xsl:variable name="latin1">&#160;&#161;&#162;&#163;&#164;&#165;&#166;&#167;&#168;&#169;&#170;&#171;&#172;&#173;&#174;&#175;&#176;&#177;&#178;&#179;&#180;&#181;&#182;&#183;&#184;&#185;&#186;&#187;&#188;&#189;&#190;&#191;&#192;&#193;&#194;&#195;&#196;&#197;&#198;&#199;&#200;&#201;&#202;&#203;&#204;&#205;&#206;&#207;&#208;&#209;&#210;&#211;&#212;&#213;&#214;&#215;&#216;&#217;&#218;&#219;&#220;&#221;&#222;&#223;&#224;&#225;&#226;&#227;&#228;&#229;&#230;&#231;&#232;&#233;&#234;&#235;&#236;&#237;&#238;&#239;&#240;&#241;&#242;&#243;&#244;&#245;&#246;&#247;&#248;&#249;&#250;&#251;&#252;&#253;&#254;&#255;</xsl:variable> <xsl:variable name="safe">!'()*-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~</xsl:variable> <xsl:variable name="hex" >0123456789ABCDEF</xsl:variable> <xsl:template name="url-encode"> <xsl:param name="str"/> <xsl:if test="$str"> <xsl:variable name="first-char" select="substring($str,1,1)"/> <xsl:choose> <xsl:when test="contains($safe,$first-char)"> <xsl:value-of select="$first-char"/> </xsl:when> <xsl:otherwise> <xsl:variable name="codepoint"> <xsl:choose> <xsl:when test="contains($ascii,$first-char)"> <xsl:value-of select="string-length(substring-before($ascii,$first-char)) + 32"/> </xsl:when> <xsl:when test="contains($latin1,$first-char)"> <xsl:value-of select="string-length(substring-before($latin1,$first-char)) + 160"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="no">Warning: string contains a character that is out of range! Substituting "?".</xsl:message> <xsl:text>63</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="hex-digit1" select="substring($hex,floor($codepoint div 16) + 1,1)"/> <xsl:variable name="hex-digit2" select="substring($hex,$codepoint mod 16 + 1,1)"/> <xsl:value-of select="concat('%',$hex-digit1,$hex-digit2)"/> </xsl:otherwise> </xsl:choose> <xsl:if test="string-length($str) &gt; 1"> <xsl:call-template name="url-encode"> <xsl:with-param name="str" select="substring($str,2)"/> </xsl:call-template> </xsl:if> </xsl:if> </xsl:template> <xsl:template name="_replace_string"> <xsl:param name="string" select="''"/> <xsl:param name="find" select="''"/> <xsl:param name="replace" select="''"/> <xsl:choose> <xsl:when test="contains($string,$find)"> <xsl:value-of select="concat(substring-before($string,$find),$replace)"/> <xsl:call-template name="_replace_string"> <xsl:with-param name="string" select="substring-after($string,$find)"/> <xsl:with-param name="find" select="$find"/> <xsl:with-param name="replace" select="$replace"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign
      title-lenses
      category_title_bar
      
      
        
        0
        
        718
        20
        562
        262
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/category_title_bar/data/category_title_lenses
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.interwoven.teamsite.nikon.components.ComponentHelper
          getLocalisedDCR
        
      
      
        redesign
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign (Default Browser Type) --> <!-- $Rev: 1576 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <xsl:template match="/"> <div class="block_catalogue"> <h2> <xsl:for-each select="//Result/staticcontent/titles/links"> <xsl:variable name="href"> <xsl:choose> <xsl:when test="link = ''">#</xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="contains(link, '/sites/') and contains(link, '.page')"><xsl:text>$PAGE_LINK[</xsl:text><xsl:value-of select="substring-before(substring-after(substring-after(link, '/sites/'), '/'), '.page')" /><xsl:text>]</xsl:text><xsl:value-of select="substring-after(link, '?')" /></xsl:when> <xsl:otherwise><xsl:value-of select="link"/></xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:variable> <a> <xsl:attribute name="href"><xsl:value-of select="$href"/></xsl:attribute> <xsl:value-of select="userlinktext"/> <xsl:if test="position() != last()"> <xsl:text disable-output-escaping="yes">&amp;nbsp;|&amp;nbsp;</xsl:text> </xsl:if> </a> </xsl:for-each> </h2> </div> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign
      product_explorer_block
      product_explorer_block
      
      
        
        21600
        
        223
        280
        180
        20
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            livesite
          
          
            
              templatedata/lv_LV/product_explorer_block/data/products_hierarchy
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
            
            
            
            
            
            
            
            
            
            
            
            
          
          com.interwoven.teamsite.nikon.externals.NikonLiveSiteHBN8ExternalDelegate
          listNavProducts
        
      
      
        redesign
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:Encoder="xalan://java.net.URLEncoder"> <xsl:template match="/"> <xsl:variable name="runQuery" select="'0'"/> <div id="productNav" style="margin: 0 0 30px 0;"> <ul> <xsl:for-each select="//Result/staticcontent/navproducts/catalogue"> <xsl:variable name="runQuery"> <xsl:choose> <xsl:when test="child::Sub1/Subnav1 = ''">l1</xsl:when> <xsl:otherwise>l3</xsl:otherwise> </xsl:choose> </xsl:variable> <li> <xsl:if test="position() = last()"> <xsl:attribute name="class">last</xsl:attribute> </xsl:if> <a> <xsl:if test="cataloguepage !=''"> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="ParamLabelValue"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="CatalogueSection"/> </xsl:with-param> <xsl:with-param name="ParamValue" select="ParamValue"/> <xsl:with-param name="Subnav1Param" select="'0'"/> <xsl:with-param name="Subnav2Param" select="'0'"/> <xsl:with-param name="Subnav3Param" select="'0'"/> <xsl:with-param name="ID" select="'0'"/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="cataloguepage"/> </xsl:call-template> </xsl:attribute> </xsl:if> <xsl:if test="ParamValue = //Result/staticcontent/sParamValue"> <xsl:if test="child::Sub1/Subnav1 != ''"> <xsl:variable name="checkfirst"> <xsl:for-each select="child::Sub1/Subnav1" > <xsl:if test="following-sibling::Subnav1Param = //Result/staticcontent/sSubnav1Param and following-sibling::Sub2/Subnav2 != ''"> <xsl:for-each select="following-sibling::Sub2/Subnav2" > <xsl:if test="following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param"> <xsl:text>selected</xsl:text> </xsl:if> </xsl:for-each> </xsl:if> <xsl:if test="following-sibling::Subnav1Param = //Result/staticcontent/sSubnav1Param"> <xsl:text>focused</xsl:text> </xsl:if> </xsl:for-each> </xsl:variable> <xsl:if test="$checkfirst =''"> <xsl:attribute name="class"><xsl:text>focused</xsl:text></xsl:attribute> </xsl:if> </xsl:if> </xsl:if> <xsl:if test="$runQuery = 'l1' and ParamValue = //Result/staticcontent/sParamValue"> <xsl:attribute name="class"><xsl:text>focused</xsl:text></xsl:attribute> </xsl:if> <span><xsl:value-of select="CatalogueSection"/></span> </a> <xsl:if test="$runQuery = 'l1' and ParamValue = //Result/staticcontent/sParamValue"> <xsl:call-template name="print-products"> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="Node" select="."/> </xsl:call-template> </xsl:if> <xsl:if test="ParamValue = //Result/staticcontent/sParamValue"> <xsl:if test="child::Sub1/Subnav1 != ''"> <xsl:variable name="level1ParamLabel"><xsl:value-of select="CatalogueSection"/></xsl:variable> <ul> <xsl:for-each select="child::Sub1/Subnav1" > <xsl:variable name="runQuery"> <xsl:choose> <xsl:when test="following-sibling::Sub2/Subnav2 != ''">0</xsl:when> <xsl:otherwise>l2</xsl:otherwise> </xsl:choose> </xsl:variable> <li> <xsl:if test="position() = last()"> <xsl:attribute name="class">last</xsl:attribute> </xsl:if> <a> <xsl:variable name="check"> <xsl:if test="following-sibling::Subnav1Param = //Result/staticcontent/sSubnav1Param and following-sibling::Sub2/Subnav2 != ''"> <xsl:for-each select="following-sibling::Sub2/Subnav2" > <xsl:if test="following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param"> <xsl:text>selected</xsl:text> </xsl:if> </xsl:for-each> </xsl:if> <xsl:if test="following-sibling::Subnav1Param = //Result/staticcontent/sSubnav1Param"> <xsl:text>focused</xsl:text> </xsl:if> </xsl:variable> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$check='selectedfocused'"><xsl:text>selected</xsl:text></xsl:when> <xsl:when test="$check='focused'"><xsl:text>focused</xsl:text></xsl:when> </xsl:choose> </xsl:attribute> <xsl:if test="following-sibling::Sub1page !=''"> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="ParamLabelValue"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <xsl:value-of select="."/> </xsl:with-param> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="following-sibling::Subnav1Param"/> <xsl:with-param name="Subnav2Param" select="'0'"/> <xsl:with-param name="Subnav3Param" select="'0'"/> <xsl:with-param name="ID" select="'0'"/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="following-sibling::Sub1page"/> </xsl:call-template> </xsl:attribute> </xsl:if> <span><xsl:value-of select="."/></span> </a> <xsl:if test="$runQuery = 'l2' and following-sibling::Subnav1Param = //Result/staticcontent/sSubnav1Param"> <xsl:call-template name="print-products"> <xsl:with-param name="labelVariables"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <xsl:value-of select="."/> </xsl:with-param> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="Node" select="."/> </xsl:call-template> </xsl:if> <xsl:if test="following-sibling::Subnav1Param = //Result/staticcontent/sSubnav1Param and following-sibling::Sub2/Subnav2 != ''"> <xsl:variable name="level2ParamLabel"><xsl:value-of select="."/></xsl:variable> <ul> <xsl:for-each select="following-sibling::Sub2/Subnav2" > <xsl:if test=". != ''"> <xsl:variable name="runQuery"> <xsl:choose> <xsl:when test="following-sibling::Sub3/Subnav3 != ''">0</xsl:when> <xsl:otherwise>l3</xsl:otherwise> </xsl:choose> </xsl:variable> <li> <xsl:if test="position() = last()"> <xsl:attribute name="class">last</xsl:attribute> </xsl:if> <a> <xsl:variable name="check1"> <xsl:if test="following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param and following-sibling::Sub3/Subnav3 != ''"> <xsl:for-each select="following-sibling::Sub3/Subnav3" > <xsl:if test="following-sibling::Subnav3Param = //Result/staticcontent/sSubnav3Param"> <xsl:text>selected</xsl:text> </xsl:if> </xsl:for-each> </xsl:if> <xsl:if test="$runQuery = 'l3' and following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param"> <xsl:text>selected</xsl:text> </xsl:if> <xsl:if test="following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param"> <xsl:text>focused</xsl:text> </xsl:if> <xsl:if test="(/Properties/Data/External//Datum[@Name = 'ID'] = '' or /Properties/Data/External//Datum[@Name = 'ID'] = 0) and //staticcontent/path"> <xsl:text>parent</xsl:text> </xsl:if> </xsl:variable> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="$check1 = 'selectedfocusedparent'"><xsl:text>focused</xsl:text></xsl:when> <xsl:when test="$check1 = 'selectedfocused'"><xsl:text>selected</xsl:text></xsl:when> <xsl:when test="$check1 = 'focused'"><xsl:text>focused</xsl:text></xsl:when> </xsl:choose> </xsl:attribute> <xsl:if test="following-sibling::Sub2page"> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="ParamLabelValue"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <xsl:value-of select="$level2ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav2ParamLbl=</xsl:text> <xsl:value-of select="."/> </xsl:with-param> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="//Result/staticcontent/sSubnav1Param"/> <xsl:with-param name="Subnav2Param" select="following-sibling::Subnav2Param"/> <xsl:with-param name="Subnav3Param" select="0"/> <xsl:with-param name="ID" select="'0'"/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="following-sibling::Sub2page"/> </xsl:call-template> </xsl:attribute> </xsl:if> <span><xsl:value-of select="."/></span> </a> <xsl:if test="$runQuery = 'l3' and following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param"> <xsl:call-template name="print-products"> <xsl:with-param name="labelVariables"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <xsl:value-of select="$level2ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav2ParamLbl=</xsl:text> <xsl:value-of select="."/> </xsl:with-param> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="Node" select="."/> </xsl:call-template> </xsl:if> <xsl:if test="following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param and following-sibling::Sub3/Subnav3 != ''"> <xsl:variable name="runQuery">l4</xsl:variable> <xsl:variable name="level3ParamLabel"><xsl:value-of select="."/></xsl:variable> <ul> <xsl:for-each select="following-sibling::Sub3/Subnav3" > <xsl:if test=". != ''"> <li> <xsl:if test="position() = last()"> <xsl:attribute name="class">last</xsl:attribute> </xsl:if> <a> <xsl:if test="following-sibling::Subnav3Param = //Result/staticcontent/sSubnav3Param"> <xsl:attribute name="class">selected</xsl:attribute> </xsl:if> <xsl:if test="following-sibling::Sub3page !=''"> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="ParamLabelValue"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <xsl:value-of select="$level2ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav2ParamLbl=</xsl:text> <xsl:value-of select="$level3ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav3ParamLbl=</xsl:text> <xsl:value-of select="."/> </xsl:with-param> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="//Result/staticcontent/sSubnav1Param"/> <xsl:with-param name="Subnav2Param" select="//Result/staticcontent/sSubnav2Param"/> <xsl:with-param name="Subnav3Param" select="following-sibling::Subnav3Param"/> <xsl:with-param name="ID" select="'0'"/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="following-sibling::Sub3page"/> </xsl:call-template> </xsl:attribute> </xsl:if> <span><xsl:value-of select="."/></span> </a> <xsl:if test="$runQuery = 'l4' and following-sibling::Subnav3Param = //Result/staticcontent/sSubnav3Param"> <xsl:call-template name="print-products"> <xsl:with-param name="labelVariables"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <xsl:value-of select="$level2ParamLabel"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav2ParamLbl=</xsl:text> <xsl:value-of select="$level3ParamLabel"/> </xsl:with-param> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="Node" select="UPC"/> </xsl:call-template> </xsl:if> </li> </xsl:if> </xsl:for-each> </ul> </xsl:if> </li> </xsl:if> </xsl:for-each> </ul> </xsl:if> </li> </xsl:for-each> </ul> </xsl:if> </xsl:if> </li> </xsl:for-each> </ul> <div class="bottom"><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text></div> </div> </xsl:template> <xsl:template name="get-href"> <xsl:param name="ParamLabelValue"/> <xsl:param name="ParamValue"/> <xsl:param name="Subnav1Param"/> <xsl:param name="Subnav2Param"/> <xsl:param name="Subnav3Param"/> <xsl:param name="ID"/> <xsl:param name="RunQuery"/> <xsl:param name="ActualLink"/> <xsl:variable name="currPage"> <xsl:choose> <xsl:when test="$ID = 0"> <xsl:choose> <xsl:when test="$ActualLink = ''">$PAGE_LINK[<xsl:value-of select="//Datum[@Name='iw-ls-page-name']"/>]</xsl:when> <xsl:otherwise>$PAGE_LINK[<xsl:value-of select="substring-before(substring-after(substring-after($ActualLink, '/sites/'), '/'), '.page')" />]</xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise>$PAGE_LINK[<xsl:value-of select="substring-before(substring-after(substring-after(//productspage, '/sites/'), '/'), '.page')" />]</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:value-of select="$currPage"/> <xsl:value-of select="$ParamLabelValue"/> <xsl:text>&amp;</xsl:text> <xsl:text>ParamValue=</xsl:text><xsl:value-of select="$ParamValue"/>&amp;Subnav1Param=<xsl:value-of select="$Subnav1Param"/>&amp;Subnav2Param=<xsl:value-of select="$Subnav2Param"/>&amp;Subnav3Param=<xsl:value-of select="$Subnav3Param"/>&amp;RunQuery=<xsl:value-of select="$RunQuery"/>&amp;ID=<xsl:value-of select="$ID"/> </xsl:template> <xsl:template name="print-products"> <xsl:param name="labelVariables"/> <xsl:param name="RunQuery"/> <xsl:param name="Node"/> <xsl:variable name="checkPrintProd"> <xsl:for-each select="//Result/staticcontent/UPC" > <xsl:value-of select="position()"/> </xsl:for-each> </xsl:variable> <xsl:if test="$checkPrintProd &gt; 0"> <ul> <xsl:for-each select="//Result/staticcontent/UPC" > <xsl:variable name="productId"><xsl:value-of select="following-sibling::UPC"/></xsl:variable> <li> <xsl:if test="position() = last()"> <xsl:attribute name="class"><xsl:text>last</xsl:text></xsl:attribute> </xsl:if> <a> <xsl:if test=". = //Result/staticcontent/sID"> <xsl:attribute name="class">focused</xsl:attribute> </xsl:if> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="ParamLabelValue"> <xsl:value-of select="$labelVariables"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav3ParamLbl=</xsl:text> <xsl:choose> <xsl:when test="following-sibling::LocalShortName != '' "><xsl:value-of select="Encoder:encode(following-sibling::LocalShortName)"/></xsl:when> <xsl:otherwise><xsl:value-of select="following-sibling::ProductShortName"/></xsl:otherwise> </xsl:choose> </xsl:with-param> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="//Result/staticcontent/sSubnav1Param"/> <xsl:with-param name="Subnav2Param" select="//Result/staticcontent/sSubnav2Param"/> <xsl:with-param name="Subnav3Param" select="//Result/staticcontent/sSubnav3Param"/> <xsl:with-param name="ID"><xsl:value-of select="."/></xsl:with-param> <xsl:with-param name="RunQuery"><xsl:value-of select="$RunQuery"/></xsl:with-param> <xsl:with-param name="ActualLink" select="''"/> </xsl:call-template> </xsl:attribute> <span> <xsl:choose> <xsl:when test="following-sibling::LocalShortName != '' "><xsl:value-of select="following-sibling::LocalShortName"/></xsl:when> <xsl:otherwise><xsl:value-of select="following-sibling::ProductShortName"/></xsl:otherwise> </xsl:choose> </span> </a> </li> </xsl:for-each> </ul> </xsl:if> </xsl:template> </xsl:stylesheet>
      
      
        Default
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: Default (Default Browser Type) --> <!-- $Rev: 1669 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <xsl:template match="/"> <xsl:variable name="runQuery" select="'0'"/> <div id="div_leftcol"> <div id="div_leftcolheader"> <div> <!-- title --> <xsl:value-of select="//NavTitle"/> </div> </div> <!-- debug query <xsl:value-of select="//Result/staticcontent/query"/> --> <!-- make main navigation ##########################################################################################--> <!-- do buttons --> <ul id="menu"> <xsl:for-each select="//Result/staticcontent/navproducts/catalogue"> <!-- test to see if we should run query --> <xsl:variable name="runQuery"> <xsl:choose> <xsl:when test="child::Sub1/Subnav1 = ''">l1</xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:variable> <li> <xsl:choose> <xsl:when test="ParamValue = //Result/staticcontent/sParamValue"> <xsl:attribute name="class"> hierachy_tit_selected </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_tit </xsl:attribute> </xsl:otherwise> </xsl:choose> <div> <a> <xsl:choose> <xsl:when test="ParamValue = //Result/staticcontent/sParamValue"> <xsl:attribute name="class"> hierachy_tit_selected_a </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_tit_a </xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:call-template name="get-href"> <xsl:with-param name="ParamValue" select="ParamValue"/> <xsl:with-param name="Subnav1Param" select="'0'"/> <xsl:with-param name="Subnav2Param" select="'0'"/> <xsl:with-param name="Subnav3Param" select="'0'"/> <xsl:with-param name="ID" select="'0'"/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="cataloguepage"/> <xsl:with-param name="Link" select="CatalogueSection"/> </xsl:call-template> </a> </div> <!-- do products if query has been run ######################################### --> <xsl:choose> <xsl:when test="$runQuery = 'l1' and ParamValue = //Result/staticcontent/sParamValue"> <ul class="sous_menu"> <xsl:for-each select="//Result/staticcontent/UPC" > <li> <xsl:choose> <xsl:when test=". = //Result/staticcontent/sID"> <xsl:attribute name="class"> hierachy_product_selected </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_product </xsl:attribute> </xsl:otherwise> </xsl:choose> <div> <a> <xsl:call-template name="get-href"> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="//Result/staticcontent/sSubnav1Param"/> <xsl:with-param name="Subnav2Param" select="//Result/staticcontent/sSubnav2Param"/> <xsl:with-param name="Subnav3Param" select="//Result/staticcontent/sSubnav3Param"/> <!-- use id to determine if link should be clicked for now change later --> <xsl:with-param name="ID" select="."/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="''"/> <xsl:with-param name="Link" select="following-sibling::LocalShortName"/> </xsl:call-template> </a> </div> </li> </xsl:for-each> </ul> </xsl:when> </xsl:choose> <!-- do products if query has been run ######################################### --> <!-- if menu has tier 1 navigation ########################################################################################## --> <xsl:if test="ParamValue = //Result/staticcontent/sParamValue"> <xsl:if test="child::Sub1/Subnav1 != ''"> <xsl:for-each select="child::Sub1/Subnav1" > <!-- test to see if we should run query --> <xsl:variable name="runQuery"> <xsl:choose> <xsl:when test="following-sibling::Sub2/Subnav2 != ''">0</xsl:when> <xsl:otherwise>l2</xsl:otherwise> </xsl:choose> </xsl:variable> <!-- do buttons --> <ul class="sous_menu"> <li class="hierachy_stit2"> <div> <a> <xsl:choose> <xsl:when test="following-sibling::Subnav1Param = //Result/staticcontent/sSubnav1Param"> <xsl:attribute name="class"> hierachy_stit2_selected_a </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_stit2_a </xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:call-template name="get-href"> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="following-sibling::Subnav1Param"/> <xsl:with-param name="Subnav2Param" select="'0'"/> <xsl:with-param name="Subnav3Param" select="'0'"/> <xsl:with-param name="ID" select="'0'"/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="following-sibling::Sub1page"/> <xsl:with-param name="Link" select="."/> </xsl:call-template> </a> </div> <!-- do products if query has been run ######################################### --> <xsl:choose> <xsl:when test="$runQuery = 'l2' and following-sibling::Subnav1Param = //Result/staticcontent/sSubnav1Param"> <ul class="sous_menu"> <xsl:for-each select="//Result/staticcontent/UPC" > <li> <xsl:choose> <xsl:when test=". = //Result/staticcontent/sID"> <xsl:attribute name="class"> hierachy_product_selected </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_product </xsl:attribute> </xsl:otherwise> </xsl:choose> <div> <a> <xsl:call-template name="get-href"> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="//Result/staticcontent/sSubnav1Param"/> <xsl:with-param name="Subnav2Param" select="//Result/staticcontent/sSubnav2Param"/> <xsl:with-param name="Subnav3Param" select="//Result/staticcontent/sSubnav3Param"/> <!-- use id to determine if link should be clicked for now change later --> <xsl:with-param name="ID" select="."/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="''"/> <xsl:with-param name="Link" select="following-sibling::LocalShortName"/> </xsl:call-template> </a> </div> </li> </xsl:for-each> </ul> </xsl:when> </xsl:choose> <!-- do products if query has been run ######################################### --> <!-- if menu has tier 2 navigation --> <xsl:if test="following-sibling::Subnav1Param = //Result/staticcontent/sSubnav1Param and following-sibling::Sub2/Subnav2 != ''"> <!-- do buttons --> <ul class="sous_menu"> <xsl:for-each select="following-sibling::Sub2/Subnav2" > <!-- test to see if we should run query --> <xsl:variable name="runQuery"> <xsl:choose> <xsl:when test="following-sibling::Sub3/Subnav3 != ''">0</xsl:when> <xsl:otherwise>l3</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:if test=". != ''"> <li> <xsl:choose> <xsl:when test="following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param"> <xsl:attribute name="class"> hierachy_stit2_selected </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_stit2 </xsl:attribute> </xsl:otherwise> </xsl:choose> <div> <a> <xsl:choose> <xsl:when test="following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param"> <xsl:attribute name="class"> hierachy_stit2_selected_a </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_stit2_a </xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:call-template name="get-href"> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="//Result/staticcontent/sSubnav1Param"/> <xsl:with-param name="Subnav2Param" select="following-sibling::Subnav2Param"/> <xsl:with-param name="Subnav3Param" select="0"/> <xsl:with-param name="ID" select="'0'"/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="following-sibling::Sub2page"/> <xsl:with-param name="Link" select="."/> </xsl:call-template> </a> </div> <!-- do products if query has been run ######################################### --> <xsl:choose> <xsl:when test="$runQuery = 'l3' and following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param"> <ul class="sous_menu"> <xsl:for-each select="//Result/staticcontent/UPC" > <li> <xsl:choose> <xsl:when test=". = //Result/staticcontent/sID"> <xsl:attribute name="class"> hierachy_product_selected </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_product </xsl:attribute> </xsl:otherwise> </xsl:choose> <div> <a> <xsl:call-template name="get-href"> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="//Result/staticcontent/sSubnav1Param"/> <xsl:with-param name="Subnav2Param" select="//Result/staticcontent/sSubnav2Param"/> <xsl:with-param name="Subnav3Param" select="//Result/staticcontent/sSubnav3Param"/> <!-- use id to determine if link should be clicked for now change later --> <xsl:with-param name="ID" select="."/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="''"/> <xsl:with-param name="Link" select="following-sibling::LocalShortName"/> </xsl:call-template> </a> </div> </li> </xsl:for-each> </ul> </xsl:when> </xsl:choose> <!-- do products if query has been run ######################################### --> <!-- if menu has tier 3 navigation --> <xsl:if test="following-sibling::Subnav2Param = //Result/staticcontent/sSubnav2Param and following-sibling::Sub3/Subnav3 != ''"> <!-- run query do not need to test as last tier --> <xsl:variable name="runQuery">l4</xsl:variable> <!-- do buttons --> <ul class="sous_menu"> <xsl:for-each select="following-sibling::Sub3/Subnav3" > <xsl:if test=". != ''"> <li> <xsl:choose> <xsl:when test="following-sibling::Subnav3Param = //Result/staticcontent/sSubnav3Param"> <xsl:attribute name="class"> hierachy_stit2_selected </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_stit2 </xsl:attribute> </xsl:otherwise> </xsl:choose> <div> <a> <xsl:choose> <xsl:when test="following-sibling::Subnav3Param = //Result/staticcontent/sSubnav3Param"> <xsl:attribute name="class"> hierachy_stit2_selected_a </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_stit2_a </xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:call-template name="get-href"> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="//Result/staticcontent/sSubnav1Param"/> <xsl:with-param name="Subnav2Param" select="//Result/staticcontent/sSubnav2Param"/> <xsl:with-param name="Subnav3Param" select="following-sibling::Subnav3Param"/> <xsl:with-param name="ID" select="'0'"/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="following-sibling::Sub3page"/> <xsl:with-param name="Link" select="."/> </xsl:call-template> </a> </div> <!-- do products if query has been run ######################################### --> <xsl:choose> <xsl:when test="$runQuery = 'l4' and following-sibling::Subnav3Param = //Result/staticcontent/sSubnav3Param"> <ul class="sous_menu"> <xsl:for-each select="//Result/staticcontent/UPC" > <li> <xsl:choose> <xsl:when test="UPC = //Result/staticcontent/sID"> <xsl:attribute name="class"> hierachy_product_selected </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"> hierachy_product </xsl:attribute> </xsl:otherwise> </xsl:choose> <div> <a> <xsl:call-template name="get-href"> <xsl:with-param name="ParamValue" select="//Result/staticcontent/sParamValue"/> <xsl:with-param name="Subnav1Param" select="//Result/staticcontent/sSubnav1Param"/> <xsl:with-param name="Subnav2Param" select="//Result/staticcontent/sSubnav2Param"/> <xsl:with-param name="Subnav3Param" select="//Result/staticcontent/sSubnav3Param"/> <!-- use id to determine if link should be clicked for now change later --> <xsl:with-param name="ID" select="UPC"/> <xsl:with-param name="RunQuery" select="$runQuery"/> <xsl:with-param name="ActualLink" select="''"/> <xsl:with-param name="Link" select="following-sibling::LocalShortName"/> </xsl:call-template> </a> </div> </li> </xsl:for-each> </ul> </xsl:when> </xsl:choose> <!-- do products if query has been run ######################################### --> </li> </xsl:if> </xsl:for-each> </ul> </xsl:if> </li> </xsl:if> </xsl:for-each> </ul> </xsl:if> </li> </ul> </xsl:for-each> </xsl:if> </xsl:if> </li> </xsl:for-each> </ul> <!-- end of column here --> <div class="div_greyleftmiddle">&#160;</div> <div class="div_greyleftbottom">&#160;</div> </div> </xsl:template> <!-- links template --> <xsl:template name="get-href"> <!-- get variables for parameters --> <xsl:param name="ParamValue"/> <xsl:param name="Subnav1Param"/> <xsl:param name="Subnav2Param"/> <xsl:param name="Subnav3Param"/> <xsl:param name="ID"/> <xsl:param name="RunQuery"/> <xsl:param name="ActualLink"/> <xsl:param name="Link"/> <!-- get the current page as variable for post back --> <xsl:variable name="currPage"> <xsl:choose> <!-- if id = 0 then do not go to products page --> <xsl:when test="$ID = 0"> <!-- if ActualLink has a value then use that page else use same page --> <!-- nested choose --> <xsl:choose> <xsl:when test="$ActualLink = ''">$PAGE_LINK[<xsl:value-of select="//Datum[@Name='iw-ls-page-name']"/>]</xsl:when> <xsl:otherwise>$PAGE_LINK[<xsl:value-of select="substring-before(substring-after(substring-after($ActualLink, '/sites/'), '/'), '.page')" />]</xsl:otherwise></xsl:choose> <!-- nested choose --> </xsl:when> <xsl:otherwise>$PAGE_LINK[<xsl:value-of select="substring-before(substring-after(substring-after(//productspage, '/sites/'), '/'), '.page')" />]</xsl:otherwise> </xsl:choose> </xsl:variable> <!-- construct link --> <xsl:attribute name="href"> <xsl:value-of select="$currPage"/>ParamValue=<xsl:value-of select="$ParamValue"/>&amp;Subnav1Param=<xsl:value-of select="$Subnav1Param"/>&amp;Subnav2Param=<xsl:value-of select="$Subnav2Param"/>&amp;Subnav3Param=<xsl:value-of select="$Subnav3Param"/>&amp;RunQuery=<xsl:value-of select="$RunQuery"/>&amp;ID=<xsl:value-of select="$ID"/> </xsl:attribute> <!-- add image --> <img src="$URL_PREFIX/sites/img/nav_left/icn_nav_niv2_off.gif" alt="arrow"/>&#160; <xsl:value-of select="$Link"/> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign
      main_page_selector_bar
      main_page_selector_bar
      
      
        
        21600
        
        960
        50
        110
        20
        0
        true
      
      
      
        
        
        
      
      
      
        
          
          
          
          com.nikon.utils.i18nSiteMap
          getSiteMap
        
      
      
        redesign
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:strip-space elements="label"/> <!-- Skin: Redesign (Default Browser Type) --> <!-- $Rev: 1581 $ --> <xsl:template match="/"> <!-- NB20091126 If no CartStoreId then don't show anchor --> <xsl:variable name="CartStoreId"> <xsl:value-of select="//Properties/Data/Result/Response/CartStoreId"/> </xsl:variable> <!-- MAIN MENU --> <div id="block_mainMenu" style="margin: 0 0 10px 0;"> <!-- Main menu --> <ul id="mainMenu"> <xsl:for-each select="/Properties/Data/Result/site-map/segment/node"> <xsl:if test="@visible-in-sitemap='true'"> <li> <xsl:variable name="section"> <!-- <xsl:choose> <xsl:when test="position() = 1">home</xsl:when> <xsl:when test="position() = 2">product</xsl:when> <xsl:when test="position() = 3">where</xsl:when> <xsl:when test="position() = 4">customer</xsl:when> <xsl:when test="position() = 5">press</xsl:when> <xsl:when test="position() = 6">community</xsl:when> </xsl:choose> --> <xsl:variable name="tempvar"> <!--<xsl:value-of select="translate(label,' ','')"/> --> <xsl:value-of select="translate(description,' ','')"/> </xsl:variable> <xsl:value-of select="translate($tempvar,'?','')"/> </xsl:variable> <xsl:attribute name="class"> <xsl:value-of select="$section"/> <xsl:if test="position() = last()"> right</xsl:if> </xsl:attribute> <a> <xsl:variable name="href"> <xsl:value-of select="link/value"/> </xsl:variable> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="link/@type='page'"> <xsl:text>$PAGE_LINK[</xsl:text><xsl:value-of select="link/value"/><xsl:text>]</xsl:text> <xsl:text>lang=</xsl:text><xsl:value-of select="//LangParam"/> <xsl:for-each select="link/query-string/parameter"> <xsl:text disable-output-escaping="yes">&amp;</xsl:text> <xsl:value-of select="name"/><xsl:text>=</xsl:text><xsl:value-of select="value"/> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:value-of select="$href"/> <xsl:if test="link/query-string/parameter"> <xsl:text>?</xsl:text> <xsl:for-each select="link/query-string/parameter"> <xsl:text disable-output-escaping="yes">&amp;</xsl:text> <xsl:value-of select="name"/><xsl:text>=</xsl:text><xsl:value-of select="value"/> </xsl:for-each> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <!-- Check if this is the selected node --> <xsl:if test="(substring-before(link/value,'/') = substring-before(/Properties/Data/Result/Response/PageName,'/'))"> <xsl:attribute name="class">selected</xsl:attribute> </xsl:if> <span> <xsl:value-of select="label"/> </span> </a> <!-- Check if we are on the selected node --> <xsl:if test="(substring-before(link/value,'/') = substring-before(/Properties/Data/Result/Response/PageName,'/'))"> <xsl:if test="child::node"> <ul> <xsl:attribute name="class"> <xsl:text>submenu </xsl:text><xsl:value-of select="$section"/> </xsl:attribute> <xsl:for-each select="node"> <xsl:if test="@visible-in-sitemap='true'"> <li> <xsl:if test="link/value != /Properties/Data/Result/Response/PageName and position()=1"> <xsl:attribute name="class"> <xsl:text>left</xsl:text> </xsl:attribute> </xsl:if> <xsl:if test="link/value = /Properties/Data/Result/Response/PageName"> <xsl:attribute name="class"> <xsl:text>selected</xsl:text> </xsl:attribute> </xsl:if> <a> <xsl:variable name="sub-href"> <xsl:value-of select="link/value"/> </xsl:variable> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="link/@type='page'"> <xsl:text>$PAGE_LINK[</xsl:text><xsl:value-of select="link/value"/><xsl:text>]</xsl:text> <xsl:text>lang=</xsl:text><xsl:value-of select="//LangParam"/> <xsl:for-each select="link/query-string/parameter"> <xsl:text disable-output-escaping="yes">&amp;</xsl:text> <xsl:value-of select="name"/><xsl:text>=</xsl:text><xsl:value-of select="value"/> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:value-of select="$sub-href"/> <xsl:if test="link/query-string/parameter"> <xsl:text>?</xsl:text> <xsl:for-each select="link/query-string/parameter"> <xsl:text disable-output-escaping="yes">&amp;</xsl:text> <xsl:value-of select="name"/><xsl:text>=</xsl:text><xsl:value-of select="value"/> </xsl:for-each> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:attribute> <span> <xsl:value-of select="label"/> </span> </a> </li> </xsl:if> </xsl:for-each> </ul> </xsl:if> </xsl:if> </li> </xsl:if> </xsl:for-each> </ul> <xsl:if test="string-length(normalize-space($CartStoreId))>0"> <a> <xsl:attribute name="href"><xsl:value-of select="/Properties/Data/Result/Response/CartStoreId"/><xsl:text>?fromurl=</xsl:text><xsl:value-of select="/Properties/Data/Result/Response/FromUrl"/></xsl:attribute> <xsl:attribute name="class">cart</xsl:attribute> <img> <xsl:attribute name="src">$URL_PREFIX/resources/styles/07_main_page_selector_bar/images/cart.png</xsl:attribute> <xsl:attribute name="alt"> <xsl:value-of select="//Result/locale_dictionary/nbv/type/string[@name='main_page_selector_bar.cartImageAltText']"/> </xsl:attribute> </img> </a> </xsl:if> </div> <!-- END MAIN MENU --> </xsl:template> </xsl:stylesheet>
      
      
        Default
        <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" indent="yes" /> <!-- Page configuration variables --> <xsl:template match="/"> <xsl:apply-templates select="/Properties/Data/Result" /> </xsl:template> <xsl:template match="Result"> <xsl:apply-templates select="site-map/segment" /> </xsl:template> <!-- do the main navigation --> <xsl:template match="segment"> <!-- <html> <head> <title> replace with your document's title </title> <link type="text/css" rel="stylesheet" href="css/nav.css"/> </head> <body> --> <div class="navperimiter"> <!-- top navigation layer --> <ul class="navtop"> <xsl:apply-templates select="node[@visible-in-sitemap='true']" /> </ul> <!-- bottom navigation layer --> <ul> <xsl:attribute name="class"> <!-- get class depending on section --> <!-- nb*** if this passes test then use variable ! --> <!-- nb*** also use ids in css ! --> <xsl:value-of select="substring-before(/Properties/Data/Result/Response/PageName,'/')"/>navbottom </xsl:attribute> <xsl:apply-templates select="node[@visible-in-sitemap='true']/node[@visible-in-sitemap='true']" /> </ul> </div> <!-- </body> </html> --> </xsl:template> <!-- end: do the top navigation --> <!-- top navigation section buttons --> <xsl:template match="node[@visible-in-sitemap='true']"> <li> <xsl:attribute name="class"> <xsl:choose> <xsl:when test="substring-before(link/value,'/') = ''"> home <!-- DO STUFF FOR HOME !!!!!!!!--> </xsl:when> <xsl:otherwise> <xsl:value-of select="substring-before(link/value,'/')"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <!-- tell page whether top nav link is selected --> <!-- and get class depending on section --> <xsl:if test="(substring-before(link/value,'/') = substring-before(/Properties/Data/Result/Response/PageName,'/'))"> <xsl:attribute name="class"> <xsl:value-of select="substring-before(/Properties/Data/Result/Response/PageName,'/')"/>selected </xsl:attribute> </xsl:if> <a> <xsl:attribute name="href"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="link/value" /> <xsl:text>]</xsl:text> <xsl:text>lang=</xsl:text> <xsl:value-of select="//LangParam"/> </xsl:attribute> <xsl:value-of select="label" /> </a> </li> </xsl:template> <!-- end: top navigation section buttons --> <!-- bottom bar navigation --> <xsl:template match="node[@visible-in-sitemap='true']/node[@visible-in-sitemap='true']"> <!-- only pull out realted nodes if on the correct page --> <xsl:if test="(substring-before(link/value,'/') = substring-before(/Properties/Data/Result/Response/PageName,'/'))"> <li > <!-- if sub nav link is selected ie ON --> <xsl:choose> <xsl:when test="link/value = /Properties/Data/Result/Response/PageName"> <div> <xsl:attribute name="class"> <xsl:value-of select="substring-before(link/value,'/')"/>nav_on </xsl:attribute> <div> <xsl:attribute name="class"> <xsl:value-of select="substring-before(link/value,'/')"/>nav_lefton </xsl:attribute> </div> <div> <xsl:attribute name="class"> <xsl:value-of select="substring-before(link/value,'/')"/>nav_centeron </xsl:attribute> <a href=""> <xsl:attribute name="href"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="link/value" /> <xsl:text>]</xsl:text> <xsl:text>lang=</xsl:text> <xsl:value-of select="//LangParam"/> </xsl:attribute> <xsl:value-of select="label" /> </a> </div> <div> <xsl:attribute name="class"> <xsl:value-of select="substring-before(link/value,'/')"/>nav_lefton </xsl:attribute> </div> </div> <!-- end: if sub nav link is selected ie ON --> </xsl:when> <!-- if not sub nav link is selected ie OFF --> <xsl:otherwise> <div> <xsl:attribute name="class"> <xsl:value-of select="substring-before(link/value,'/')"/>nav_off </xsl:attribute> <div> <xsl:attribute name="class"> <xsl:value-of select="substring-before(link/value,'/')"/>nav_leftoff </xsl:attribute> </div> <div> <xsl:attribute name="class"> <xsl:value-of select="substring-before(link/value,'/')"/>nav_centeroff </xsl:attribute> <a href=""> <xsl:attribute name="href"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="link/value" /> <xsl:text>]</xsl:text> <xsl:text>lang=</xsl:text> <xsl:value-of select="//LangParam"/> </xsl:attribute> <xsl:value-of select="label" /> </a> </div> <div> <xsl:attribute name="class"> <xsl:value-of select="substring-before(link/value,'/')"/>nav_leftoff </xsl:attribute> </div> </div> </xsl:otherwise> <!-- end: if not sub nav link is selected ie OFF --> </xsl:choose> <!-- add spacer div | for cuteness --> <!-- fix this !! --> <xsl:if test="position() != last()"> <div> <xsl:attribute name="class"> <xsl:value-of select="substring-before(link/value,'/')"/>nav_spacer </xsl:attribute> </div> </xsl:if> </li> </xsl:if> </xsl:template> <!-- end: bottom bar navigation --> </xsl:stylesheet>
      
    
    
      
      redesign
      title-sportoptics
      category_title_bar
      
      
        
        0
        
        718
        20
        944
        262
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/lv_LV/category_title_bar/data/category_title_sportoptics
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          com.interwoven.teamsite.nikon.components.ComponentHelper
          getLocalisedDCR
        
      
      
        redesign
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- Skin: redesign (Default Browser Type) --> <!-- $Rev: 1576 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <xsl:template match="/"> <div class="block_catalogue"> <h2> <xsl:for-each select="//Result/staticcontent/titles/links"> <xsl:variable name="href"> <xsl:choose> <xsl:when test="link = ''">#</xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="contains(link, '/sites/') and contains(link, '.page')"><xsl:text>$PAGE_LINK[</xsl:text><xsl:value-of select="substring-before(substring-after(substring-after(link, '/sites/'), '/'), '.page')" /><xsl:text>]</xsl:text><xsl:value-of select="substring-after(link, '?')" /></xsl:when> <xsl:otherwise><xsl:value-of select="link"/></xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:variable> <a> <xsl:attribute name="href"><xsl:value-of select="$href"/></xsl:attribute> <xsl:value-of select="userlinktext"/> <xsl:if test="position() != last()"> <xsl:text disable-output-escaping="yes">&amp;nbsp;|&amp;nbsp;</xsl:text> </xsl:if> </a> </xsl:for-each> </h2> </div> </xsl:template> </xsl:stylesheet>