Changeset 3842


Ignore:
Timestamp:
2003-03-11T13:50:05+13:00 (21 years ago)
Author:
kjdon
Message:

small changes to page format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/interfaces/default/transform/classifier.xsl

    r3686 r3842  
    99<xsl:output method="html"/> 
    1010
     11<!--
     12<xslt:template xmlns:xslt="http://www.w3.org/1999/XSL/Transform" match="document" priority="6"><td><a href="library?a=d&amp;c=collName&amp;d=name"><img src="interfaces/default/images/book.gif" width="18" height="11" border="0"/></a></td><td><xslt:value-of select="metadataList/metadata[@name='Keyword']"/>***</td></xslt:template>
     13
     14<xsl:template match="document" priority="3"><td><a xmlns:xslt="http://www.w3.org/1999/XSL/Transform" href="library?a=d&amp;c=collName&amp;d=name"><img
     15src="interfaces/default/images/book.gif" width="18" height="11" border="0"/></a></td><td><xslt:value-of xmlns:xslt="http://www.w3.org/1999/XSL/Transform" select="metadataList/metadata[@name='Keyword']"/></td></xsl:template>
     16
     17<xsl:template match="document" priority="4"><td><a xmlns:xslt="http://www.w3.org/1999/XSL/Transform" href="library?a=d&amp;c=collName&amp;d=name"><xslt:value-of select="metadataList/metadata[@name='Keyword']"/></a></td></xsl:template>
     18-->
    1119<xsl:template match="page">
    1220<xsl:variable name="collName"><xsl:value-of select="request/paramList/param[@name='c']/@value"/></xsl:variable>
     
    4149<table width='537'><tr>
    4250<xsl:for-each select="classifier">
     51<xsl:variable name="cname" select="@name"/>
    4352<xsl:choose>
    4453<xsl:when test="@name=$selected">
    45 <td align='center'><xsl:value-of select="metadataList/metadata[@name='Title']"/></td>
     54<td align='center'><xsl:value-of select="ancestor::service/display/classifier[@name=$cname]/name"/></td>
    4655</xsl:when>
    4756<xsl:otherwise>
    48 <td align='center'><a href="{$library}?a=b&amp;s={$serviceName}&amp;c={$collName}&amp;cl={@name}"><xsl:value-of select="metadataList/metadata[@name='Title']"/></a></td></xsl:otherwise></xsl:choose>
     57<td align='center'><a href="{$library}?a=b&amp;s={$serviceName}&amp;c={$collName}&amp;cl={@name}"><xsl:value-of select="ancestor::service/display/classifier[@name=$cname]/name"/></a></td></xsl:otherwise></xsl:choose>
    4958</xsl:for-each>
    5059</tr></table>
Note: See TracChangeset for help on using the changeset viewer.