Changeset 14377

Show
Ignore:
Timestamp:
20.08.2007 16:15:27 (12 years ago)
Author:
shaoqun
Message:

added code to prevent parsing duplicated classifierList nodes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/classic/transform/style.xsl

    r13261 r14377  
    164164    <xsl:variable name="this-element" select="/page/pageResponse/collection"/> 
    165165    <xsl:variable name="this-service" select="/page/pageResponse/service/@name"/> 
    166     <xsl:variable name="classifiers" select="$this-element/serviceList/service[@name='ClassifierBrowse']/classifierList"/> 
     166    <xsl:variable name="classifiers" select="$this-element/serviceList/service[@name='ClassifierBrowse']/classifierList[1]"/> 
    167167     <div class="navbar"> 
    168168       <p class="navbar">