Local Content Article Body Local Default Page Frame Service Points
false
-ls-pt-lo-def- -ls-pt-lo-def- Autorisierte Nikon Fachwerkstätten - Reparaturen und Service Nikon, Kamera, Reparatur, Garantie, Service, Werkstatt, reparieren
      
    
    
  
  
    
      
      redesign
      corporate_footer_block
      corporate_footer_block
      
      
        
        21600
        
        960
        140
        420
        20
        0
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/de_DE/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: 1668 $ --> <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: 1668 $ --> <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>
      
    
    
      Skin for local_content DCRs. The parameter will be the DCR to be used
      redesign
      article_container
      article_container
      
      
        
        0
        
        718
        200
        210
        262
        0
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/de_DE/article_container/data/service-points
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
          
          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: 1898 $ --> <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_article"> <script type="text/javascript"> function onloadimage() { var tailleimg = document.getElementById('imgheader').offsetWidth; document.getElementById('textheader').style.marginLeft = tailleimg + "px"; } </script> <h2> <xsl:for-each select="//local_content/navigation_header"> <xsl:value-of select="nav_header_label"/> <xsl:if test="position() &lt; last()"> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>|<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> </xsl:if> </xsl:for-each> </h2> <div class="block"> <xsl:value-of select="//local_content/introduction/header_introduction" disable-output-escaping="yes"/> <div class="bottom"><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text></div> </div> <div class="article header"> <div class="top2">&nbsp;</div> <div class="bloc-header"> <xsl:if test="normalize-space(//local_content/introduction/presentation_box/header_image)"> <xsl:choose> <xsl:when test="contains(//local_content/introduction/presentation_box/header_image,'.swf')"> <object type="application/x-shockwave-flash" style="width:212px; height:153px;"> <xsl:attribute name="data"><xsl:text>/</xsl:text><xsl:value-of select="//local_content/introduction/presentation_box/header_image"/><xsl:text>?</xsl:text><xsl:text>locale=</xsl:text><xsl:value-of select="//staticcontent/@requestedLocale"/></xsl:attribute> <param name="movie"> <xsl:attribute name="value"><xsl:text>/</xsl:text><xsl:value-of select="//local_content/introduction/presentation_box/header_image"/><xsl:text>?</xsl:text><xsl:text>locale=</xsl:text><xsl:value-of select="//staticcontent/@requestedLocale"/></xsl:attribute> </param> <param name="quality" value="high" /> </object> </xsl:when> <xsl:otherwise> <img alt="" title="" id="imgheader" onload="onloadimage()"> <xsl:attribute name="src">$URL_PREFIX/<xsl:value-of select="//local_content/introduction/presentation_box/header_image" /></xsl:attribute> </img> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:value-of select="//local_content/introduction/presentation_box/header_presentation" disable-output-escaping="yes"/> </div> <div class="bottom2"><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text></div> </div> <xsl:for-each select="//local_content/content"> <xsl:for-each select="paragraph"> <xsl:if test="normalize-space(paragraph_title)"> <div class="h3_top"><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text></div> <h3><xsl:value-of select="paragraph_title" disable-output-escaping="yes"/></h3> <div class="h3_bottom"><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text></div> </xsl:if> <div class="article"> <div class="top2"><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text></div> <div> <xsl:if test="normalize-space(paragraph_image)"> <xsl:choose> <xsl:when test="contains(paragraph_image,'.swf')"> <xsl:variable name="href"><xsl:value-of select="paragraph_image_link"/></xsl:variable> <object type="application/x-shockwave-flash" style="width:212px; height:153px;"> <xsl:attribute name="data"><xsl:text>/</xsl:text><xsl:value-of select="paragraph_image"/><xsl:text>?</xsl:text><xsl:text>locale=</xsl:text><xsl:value-of select="//staticcontent/@requestedLocale"/><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:when> <xsl:otherwise><xsl:value-of select="$href"/></xsl:otherwise> </xsl:choose> </xsl:attribute> <param name="movie"> <xsl:attribute name="value"><xsl:text>/</xsl:text><xsl:value-of select="paragraph_image"/><xsl:text>?</xsl:text><xsl:text>locale=</xsl:text><xsl:value-of select="//staticcontent/@requestedLocale"/><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:when> <xsl:otherwise><xsl:value-of select="$href"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </param> <param name="quality" value="high" /> </object> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="paragraph_image_link != ''"> <a> <xsl:variable name="href"><xsl:value-of select="paragraph_image_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> <img title=""> <xsl:if test="paragraph_image_alt_text != ''"> <xsl:attribute name="alt"><xsl:value-of select="paragraph_image_alt_text"/></xsl:attribute> </xsl:if> <xsl:attribute name="src">$URL_PREFIX/<xsl:value-of select="paragraph_image" /></xsl:attribute> </img> </a> </xsl:when> <xsl:otherwise> <img title=""> <xsl:if test="paragraph_image_alt_text != ''"> <xsl:attribute name="alt"><xsl:value-of select="paragraph_image_alt_text"/></xsl:attribute> </xsl:if> <xsl:attribute name="src">$URL_PREFIX/<xsl:value-of select="paragraph_image" /></xsl:attribute> </img> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:value-of select="paragraph_legend" disable-output-escaping="yes"/> <xsl:value-of select="paragraph_text" disable-output-escaping="yes"/> </div> <div class="bottom2">&#160;</div> </div> </xsl:for-each> </xsl:for-each> </div> </xsl:template> </xsl:stylesheet>
      
    
    
      
      redesign
      corporate_header_block
      corporate_header_block
      
      
        
        21600
        
        960
        90
        20
        20
        0
        true
      
      
      
        
        
        
      
      
      
        
          
            
              templatedata/de_DE/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: 1668 $ --> <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: 1668 $ --> <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
      local_content_explorer_block
      local_content_explorer_block
      
      
        
        0
        
        223
        200
        180
        20
        0
        true
      
      
      
        
        
        
      
      
      
        
          
            livesite
          
          
            
              templatedata/de_DE/local_content_explorer_block/data/support_main_page_taxonomy
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
              
                
              
            
            
            
            
            
            
            
            
          
          com.nikon.utils.navGeneric
          constructNavGeneric
        
      
      
        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: 1497 $ --> <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="/"> <!-- Define Global Variables --> <!-- LEFT MENU --> <div id="productNav" style="margin: 0 0 30px 0;"> <!-- FIRST LEVEL --> <ul> <xsl:for-each select="//Result/staticcontent/navcommunity/level1"> <!-- declare varable for linkage --> <xsl:variable name="possLink"> <xsl:value-of select="position()"/> </xsl:variable> <li> <xsl:if test="$possLink != //LinkID"> <xsl:if test="$possLink=last()"> <xsl:attribute name="class"><xsl:text>last</xsl:text></xsl:attribute> </xsl:if> </xsl:if> <xsl:choose> <xsl:when test="URL !=''"> <a> <xsl:if test="URL !=''"> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="passHref" select="URL"/> <xsl:with-param name="passPos" select="$possLink"/> <xsl:with-param name="passPosSub1" select="0"/> <xsl:with-param name="passPosSub2" select="0"/> <xsl:with-param name="passPosSub3" select="0"/> <xsl:with-param name="passPosSub4" select="0"/> <xsl:with-param name="passUrlParams"> <!-- NB Use //@Enc --> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="Label//@Enc"/> <xsl:text>&amp;sParamValue=</xsl:text> <xsl:value-of select="URLParameters//@Enc"/> <xsl:text>&amp;dcr=</xsl:text> <xsl:value-of select="substring-after(URLParameters, '/data/')"/> </xsl:with-param> </xsl:call-template> </xsl:attribute> </xsl:if> <xsl:attribute name="target"> <xsl:value-of select="URLTarget"/> </xsl:attribute> <xsl:variable name="check"> <xsl:if test="$possLink = //LinkID"> <xsl:if test="child::Level2/Label != ''"> <xsl:for-each select="child::Level2"> <xsl:variable name="possLinkSub"> <xsl:value-of select="position()"/> </xsl:variable> <xsl:if test="$possLinkSub = //LinkIDSub1"> <xsl:text>selected</xsl:text> </xsl:if> </xsl:for-each> </xsl:if> </xsl:if> <xsl:if test="$possLink = //LinkID"> <xsl:text>focused</xsl:text> </xsl:if> </xsl:variable> <xsl:if test="$check ='focused'"> <xsl:attribute name="class"><xsl:value-of select="$check"/></xsl:attribute> </xsl:if> <span> <xsl:value-of select="Label"/> </span> </a> </xsl:when> <xsl:otherwise> <p> <span> <xsl:value-of select="Label"/> </span> </p> </xsl:otherwise> </xsl:choose> <!-- Check if we have a next level of navigation --> <xsl:if test="$possLink = //LinkID"> <!-- NB Use //@Enc --> <xsl:variable name="level1ParamName"> <xsl:value-of select="Label//@Enc"/> </xsl:variable> <xsl:variable name="level1URLParam"> <xsl:value-of select="URLParameters//@Enc"/> </xsl:variable> <xsl:if test="child::Level2/Label != ''"> <!-- SECOND LEVEL --> <ul> <xsl:for-each select="child::Level2"> <!-- declare varable for linkage --> <xsl:variable name="possLinkSub1"> <xsl:value-of select="position()"/> </xsl:variable> <li> <xsl:if test="$possLinkSub1=last() and //LinkIDSub2='0'"> <xsl:attribute name="class"><xsl:text>last</xsl:text></xsl:attribute> </xsl:if> <a> <xsl:if test="URL !=''"> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="passHref" select="URL"/> <xsl:with-param name="passPos" select="$possLink"/> <xsl:with-param name="passPosSub1" select="$possLinkSub1"/> <xsl:with-param name="passPosSub2" select="0"/> <xsl:with-param name="passPosSub3" select="0"/> <xsl:with-param name="passPosSub4" select="0"/> <xsl:with-param name="passUrlParams"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParamValue=</xsl:text> <xsl:value-of select="$level1URLParam"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <!-- NB Use //@Enc --> <xsl:value-of select="Label//@Enc"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1Value=</xsl:text> <xsl:value-of select="URLParameters//@Enc"/> <xsl:text>&amp;dcr=</xsl:text> <xsl:value-of select="substring-after(URLParameters, '/data/')"/> </xsl:with-param> </xsl:call-template> </xsl:attribute> </xsl:if> <xsl:attribute name="target"> <xsl:value-of select="URLTarget"/> </xsl:attribute> <xsl:variable name="link1class"> <xsl:if test="$possLinkSub1 = //LinkIDSub1"> <xsl:text>focused</xsl:text> </xsl:if> <xsl:if test="$possLinkSub1 = //LinkIDSub1"> <xsl:for-each select="child::Level3"> <xsl:variable name="possLinkSub2"> <xsl:value-of select="position()"/> </xsl:variable> <xsl:if test="$possLinkSub2 = //LinkIDSub2"> <xsl:text>selected</xsl:text> </xsl:if> </xsl:for-each> </xsl:if> </xsl:variable> <xsl:if test="$link1class !=''"> <xsl:attribute name="class"> <xsl:if test="$link1class='focusedselected'"> <xsl:text>selected</xsl:text> </xsl:if> <xsl:if test="$link1class='focused'"> <xsl:text>focused</xsl:text> </xsl:if> </xsl:attribute> </xsl:if> <span> <xsl:value-of select="Label"/> </span> </a> <!-- Third level of Navigation --> <xsl:if test="$possLinkSub1 = //LinkIDSub1"> <!-- NB Use //@Enc --> <xsl:variable name="level2ParamName"> <xsl:value-of select="Label//@Enc"/> </xsl:variable> <xsl:variable name="level2URLParam"> <xsl:value-of select="URLParameters//@Enc"/> </xsl:variable> <ul> <xsl:for-each select="child::Level3"> <xsl:variable name="possLinkSub2"> <xsl:value-of select="position()"/> </xsl:variable> <li> <xsl:if test="$possLinkSub2=last() and //LinkIDSub3='0'"> <xsl:attribute name="class"><xsl:text>last</xsl:text></xsl:attribute> </xsl:if> <a> <xsl:if test="URL !=''"> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="passHref" select="URL"/> <xsl:with-param name="passPos" select="$possLink"/> <xsl:with-param name="passPosSub1" select="$possLinkSub1"/> <xsl:with-param name="passPosSub2" select="$possLinkSub2"/> <xsl:with-param name="passPosSub3" select="0"/> <xsl:with-param name="passPosSub4" select="0"/> <xsl:with-param name="passUrlParams"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParamValue=</xsl:text> <xsl:value-of select="$level1URLParam"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <xsl:value-of select="$level2ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1Value=</xsl:text> <xsl:value-of select="$level2URLParam"/> <xsl:text>&amp;sSubnav2ParamLbl=</xsl:text> <!-- NB Use //@Enc --> <xsl:value-of select="Label//@Enc"/> <xsl:text>&amp;sSubnav2Param=</xsl:text> <xsl:value-of select="URLParameters//@Enc"/> <xsl:text>&amp;dcr=</xsl:text> <xsl:value-of select="substring-after(URLParameters, '/data/')"/> </xsl:with-param> </xsl:call-template> </xsl:attribute> </xsl:if> <xsl:attribute name="target"> <xsl:value-of select="URLTarget"/> </xsl:attribute> <xsl:variable name="level3check"> <xsl:if test="$possLinkSub2 = //LinkIDSub2"> <xsl:for-each select="child::Level4"> <xsl:variable name="possLinkSub3"> <xsl:value-of select="position()"/> </xsl:variable> <xsl:if test="$possLinkSub3=//LinkIDSub3"> <xsl:text>selected</xsl:text> </xsl:if> </xsl:for-each> </xsl:if> <xsl:if test="$possLinkSub2 = //LinkIDSub2"> <xsl:text>focused</xsl:text> </xsl:if> </xsl:variable> <xsl:if test="$level3check !=''"> <xsl:attribute name="class"> <xsl:if test="$level3check='selectedfocused'"> <xsl:text>selected</xsl:text> </xsl:if> <xsl:if test="$level3check='focused'"> <xsl:text>focused</xsl:text> </xsl:if> </xsl:attribute> </xsl:if> <span> <xsl:value-of select="Label"/> </span> </a> <!-- Fourth Level of Navigation --> <xsl:if test="$possLinkSub2 = //LinkIDSub2"> <!-- NB Use //@Enc --> <xsl:variable name="level3ParamName"> <xsl:value-of select="Label//@Enc"/> </xsl:variable> <xsl:variable name="level3URLParam"> <xsl:value-of select="URLParameters//@Enc"/> </xsl:variable> <ul> <xsl:for-each select="child::Level4"> <xsl:variable name="possLinkSub3"> <xsl:value-of select="position()"/> </xsl:variable> <li> <xsl:if test="$possLinkSub3=last() and //LinkIDSub4='0'"> <xsl:attribute name="class"><xsl:text>last</xsl:text></xsl:attribute> </xsl:if> <a> <xsl:if test="URL !=''"> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="passHref" select="URL"/> <xsl:with-param name="passPos" select="$possLink"/> <xsl:with-param name="passPosSub1" select="$possLinkSub1"/> <xsl:with-param name="passPosSub2" select="$possLinkSub2"/> <xsl:with-param name="passPosSub3" select="$possLinkSub3"/> <xsl:with-param name="passPosSub4" select="0"/> <xsl:with-param name="passUrlParams"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParamValue=</xsl:text> <xsl:value-of select="$level1URLParam"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <xsl:value-of select="$level2ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1Value=</xsl:text> <xsl:value-of select="$level2URLParam"/> <xsl:text>&amp;sSubnav2ParamLbl=</xsl:text> <xsl:value-of select="$level3ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav2Param=</xsl:text> <xsl:value-of select="$level3URLParam"/> <xsl:text>&amp;sSubnav3ParamLbl=</xsl:text> <!-- NB Use //@Enc --> <xsl:value-of select="Label//@Enc"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav3Param=</xsl:text> <xsl:value-of select="URLParameters//@Enc"/> <xsl:text>&amp;dcr=</xsl:text> <xsl:value-of select="substring-after(URLParameters, '/data/')"/> </xsl:with-param> </xsl:call-template> </xsl:attribute> </xsl:if> <xsl:attribute name="target"> <xsl:value-of select="URLTarget"/> </xsl:attribute> <xsl:variable name="level4check"> <xsl:if test="$possLinkSub3 = //LinkIDSub3"> <xsl:for-each select="child::Level5"> <xsl:variable name="possLinkSub4"> <xsl:value-of select="position()"/> </xsl:variable> <xsl:if test="$possLinkSub4=//LinkIDSub4"> <xsl:text>selected</xsl:text> </xsl:if> </xsl:for-each> </xsl:if> <xsl:if test="$possLinkSub3 = //LinkIDSub3"> <xsl:text>focused</xsl:text> </xsl:if> </xsl:variable> <xsl:if test="$level4check !=''"> <xsl:attribute name="class"> <xsl:if test="$level4check='selectedfocused'"> <xsl:text>selected</xsl:text> </xsl:if> <xsl:if test="$level4check='focused'"> <xsl:text>focused</xsl:text> </xsl:if> </xsl:attribute> </xsl:if> <span> <xsl:value-of select="Label"/> </span> </a> <!-- Fifth Level of Navigation --> <xsl:if test="$possLinkSub3 = //LinkIDSub3"> <!-- NB Use //@Enc --> <xsl:variable name="level4ParamName"> <xsl:value-of select="Label//@Enc"/> </xsl:variable> <xsl:variable name="level4URLParam"> <xsl:value-of select="URLParameters//@Enc"/> </xsl:variable> <ul> <xsl:for-each select="child::Level5"> <xsl:variable name="possLinkSub4"> <xsl:value-of select="position()"/> </xsl:variable> <li> <xsl:if test="$possLinkSub4=last()"> <xsl:attribute name="class"><xsl:text>last</xsl:text></xsl:attribute> </xsl:if> <a> <xsl:if test="URL !=''"> <xsl:attribute name="href"> <xsl:call-template name="get-href"> <xsl:with-param name="passHref" select="URL"/> <xsl:with-param name="passPos" select="$possLink"/> <xsl:with-param name="passPosSub1" select="$possLinkSub1"/> <xsl:with-param name="passPosSub2" select="$possLinkSub2"/> <xsl:with-param name="passPosSub3" select="$possLinkSub3"/> <xsl:with-param name="passPosSub4" select="$possLinkSub4"/> <xsl:with-param name="passUrlParams"> <xsl:text>sParamValueLbl=</xsl:text> <xsl:value-of select="$level1ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParamValue=</xsl:text> <xsl:value-of select="$level1URLParam"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1ValueLbl=</xsl:text> <xsl:value-of select="$level2ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sParam1Value=</xsl:text> <xsl:value-of select="$level2URLParam"/> <xsl:text>&amp;sSubnav2ParamLbl=</xsl:text> <xsl:value-of select="$level3ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav2Param=</xsl:text> <xsl:value-of select="$level3URLParam"/> <xsl:text>&amp;sSubnav3ParamLbl=</xsl:text> <xsl:value-of select="$level4ParamName"/> <xsl:text>&amp;</xsl:text> <xsl:text>sSubnav3Param=</xsl:text> <xsl:value-of select="$level4URLParam"/> <xsl:text>&amp;sSubnav4ParamLbl=</xsl:text> <!-- NB Use //@Enc --> <xsl:value-of select="Label//@Enc"/> <xsl:text>&amp;sSubnav4Param=</xsl:text> <xsl:value-of select="URLParameters//@Enc"/> <xsl:text>&amp;dcr=</xsl:text> <xsl:value-of select="substring-after(URLParameters, '/data/')"/> </xsl:with-param> </xsl:call-template> </xsl:attribute> </xsl:if> <xsl:attribute name="target"> <xsl:value-of select="URLTarget"/> </xsl:attribute> <xsl:if test="$possLinkSub4 =//LinkIDSub4"> <xsl:attribute name="class"> <xsl:text>focused</xsl:text> </xsl:attribute> </xsl:if> <span> <xsl:value-of select="Label"/> </span> </a> </li> </xsl:for-each> </ul> </xsl:if> </li> </xsl:for-each> </ul> </xsl:if> </li> </xsl:for-each> </ul> </xsl:if> </li> </xsl:for-each> </ul> <!-- END SECOND LEVEL --> </xsl:if> </xsl:if> </li> </xsl:for-each> </ul> <!-- END FIRST LEVEL--> <div class="bottom"> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> </div> </div> <!-- END LEFT MENU --> </xsl:template> <!-- Template for getting the menu link tag --> <xsl:template name="get-href"> <!-- get variables for parameters --> <xsl:param name="passHref"/> <xsl:param name="passPos"/> <xsl:param name="passPosSub1"/> <xsl:param name="passPosSub2"/> <xsl:param name="passPosSub3"/> <xsl:param name="passPosSub4"/> <xsl:param name="passUrlParams"/> <xsl:choose> <xsl:when test="string-length($passHref) &gt; 0"> <xsl:choose> <xsl:when test="contains($passHref, '/sites/') and contains($passHref, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($passHref, '/sites/'), '/'), '.page')"/> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($passHref, '?')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$passHref"/> </xsl:otherwise> </xsl:choose> <xsl:text>lid=</xsl:text> <xsl:value-of select="$passPos"/> <xsl:text>&amp;lidsub1=</xsl:text> <xsl:value-of select="$passPosSub1"/> <xsl:text>&amp;lidsub2=</xsl:text> <xsl:value-of select="$passPosSub2"/> <xsl:text>&amp;lidsub3=</xsl:text> <xsl:value-of select="$passPosSub3"/> <xsl:text>&amp;lidsub4=</xsl:text> <xsl:value-of select="$passPosSub4"/> <xsl:text>&amp;</xsl:text> <xsl:value-of select="$passUrlParams"/> </xsl:when> <xsl:otherwise> <xsl:text>#</xsl:text> </xsl:otherwise> </xsl:choose> </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: 1497 $ --> <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_leftcol"> <div id="div_leftcolheader"> <div> <!-- title --> <xsl:value-of select="//NavTitle"/> </div> </div> <!-- do buttons --> <ul id="menu"> <xsl:for-each select="//Result/staticcontent/navcommunity/generic"> <!-- declare varable for linkage --> <xsl:variable name="possLink"> <xsl:value-of select="position()"/> </xsl:variable> <li> <xsl:choose> <xsl:when test="$possLink = //LinkID"> <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="$possLink = //LinkID"> <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="passHref" select="Link"/> <xsl:with-param name="passTarget" select="LinkTarget"/> <xsl:with-param name="passPos" select="$possLink"/> <xsl:with-param name="passPosSub1" select="0"/> <xsl:with-param name="passUserLink" select="GenericSection"/> <xsl:with-param name="passUrlParams" select="URLParameters"/> </xsl:call-template> </a> </div> <!-- if menu has tier 1 navigation --> <xsl:if test="$possLink = //LinkID"> <xsl:if test="child::Sub1/Subnav1 != ''"> <ul class="sous_menu"> <xsl:for-each select="child::Sub1" > <!-- declare varable for linkage --> <xsl:variable name="possLinkSub1"> <xsl:value-of select="position()"/> </xsl:variable> <!-- Construct product Links --> <li> <xsl:choose> <xsl:when test="$possLinkSub1 = //LinkIDSub1"> <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="passHref" select="Link1"/> <xsl:with-param name="passTarget" select="LinkTarget1"/> <xsl:with-param name="passPos" select="$possLink"/> <xsl:with-param name="passPosSub1" select="$possLinkSub1"/> <xsl:with-param name="passUserLink" select="Subnav1"/> <xsl:with-param name="passUrlParams" select="URLParameters"/> </xsl:call-template> </a> </div> </li> </xsl:for-each> </ul> </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="passHref"/> <xsl:param name="passTarget"/> <xsl:param name="passPos"/> <xsl:param name="passPosSub1"/> <xsl:param name="passUserLink"/> <xsl:param name="passUrlParams"/> <!-- construct link --> <xsl:attribute name="href"> <xsl:choose> <xsl:when test="contains($passHref, '/sites/') and contains($passHref, '.page')"> <xsl:text>$PAGE_LINK[</xsl:text> <xsl:value-of select="substring-before(substring-after(substring-after($passHref, '/sites/'), '/'), '.page')" /> <xsl:text>]</xsl:text> <xsl:value-of select="substring-after($passHref, '?')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$passHref"/> </xsl:otherwise> </xsl:choose>lid=<xsl:value-of select="$passPos"/>&amp;lidsub1=<xsl:value-of select="$passPosSub1"/><xsl:text>&amp;dcr=</xsl:text><xsl:value-of select="substring-after($passUrlParams, '/data/')"/> </xsl:attribute> <xsl:attribute name="target"> <xsl:value-of select="$passTarget"/> </xsl:attribute> <!-- add image --> <img src="$URL_PREFIX/sites/img/nav_left/icn_nav_niv2_off.gif" alt="arrow"/>&#160; <xsl:value-of select="$passUserLink"/> </xsl:template> </xsl:stylesheet>
      
    
    
      Title bar with breadcrumbs from the site map
      Default
      community_title_bar
      community_title_bar
      
      
        
        86400
        
        718
        20
        180
        262
        1
        true
      
      
      
        
        
        
      
      
      
        
          
            
            
            
            
            
            
            
            
          
          
          com.interwoven.livesite.external.impl.LivesiteSiteMap
          getSiteMap
        
      
      
        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: 1629 $ --> <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/> <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/> <!-- calculate the active tab. This is the tab whose descendant is the current page, or whose own link value is home --> <xsl:variable name="active-node"> <xsl:choose> <xsl:when test="//node[descendant-or-self::link/value=//Datum[@Name='iw-ls-page-name']] != ''"> <!-- <xsl:value-of select="//node[descendant-or-self::link/value=//Datum[@Name='iw-ls-page-name']]/label/@key" /> --> <xsl:value-of select="//node[descendant-or-self::link/value=//Datum[@Name='iw-ls-page-name']]/label"/> </xsl:when> <xsl:otherwise> <!-- <xsl:value-of select="//node[label[@key='home']]/label/@key" /> --> <xsl:value-of select="//node[label[@key='home']]/label"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:template match="/"> <div class="block_catalogue"> <h2> <xsl:value-of select="$active-node" disable-output-escaping="yes"/> <xsl:if test="//sParamValueLbl !=''"> <xsl:text>&#160;</xsl:text> <xsl:text>|</xsl:text> <xsl:text> </xsl:text> <xsl:value-of select="//sParamValueLbl" disable-output-escaping="yes"/> </xsl:if> <xsl:if test="//sParam1ValueLbl !=''"> <xsl:text>&#160;</xsl:text> <xsl:text>|</xsl:text> <xsl:text> </xsl:text> <xsl:value-of select="//sParam1ValueLbl" disable-output-escaping="yes"/> </xsl:if> <xsl:if test="//sSubnav2ParamLbl !=''"> <xsl:text>&#160;</xsl:text> <xsl:text>|</xsl:text> <xsl:text> </xsl:text> <xsl:value-of select="//sSubnav2ParamLbl" disable-output-escaping="yes"/> </xsl:if> <xsl:if test="//sSubnav3ParamLbl !='' "> <xsl:text>&#160;</xsl:text> <xsl:text>|</xsl:text> <xsl:text> </xsl:text> <xsl:value-of select="//sSubnav3ParamLbl" disable-output-escaping="yes"/> </xsl:if> <xsl:if test="//sSubnav4ParamLbl !=''"> <xsl:text>&#160;</xsl:text> <xsl:text>|</xsl:text> <xsl:text>&#160;</xsl:text> <xsl:value-of select="//sSubnav4ParamLbl" disable-output-escaping="yes"/> </xsl:if> </h2> </div> </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: 1668 $ --> <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>