Ignore:
Timestamp:
2002-11-26T14:56:52+13:00 (22 years ago)
Author:
kjdon
Message:

fixed a couple of bugs

File:
1 edited

Legend:

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

    r3564 r3582  
    1010
    1111<xsl:template match="page">
    12 <xsl:variable name="collName"><xsl:value-of select="service/request/paramList/param[@name='collection']/@value"/></xsl:variable>
     12<xsl:variable name="collName"><xsl:value-of select="request/paramList/param[@name='collection']/@value"/></xsl:variable>
    1313<html>
    1414<xsl:call-template name="greenstoneHead"/>
     
    191191<xsl:param name="link">icon</xsl:param>
    192192<td><p/>
     193<xsl:if test='node'><!-- only do this if there are child nodes - netscape craps out at an empty table like <table  /> -->
    193194<xsl:choose><xsl:when test='@type="vertical"'>
    194195<table><xsl:for-each select='node'><tr valign='top'><xsl:apply-templates select='.' mode='current-node'><xsl:with-param name='link' select='$link'/><xsl:with-param name='collName' select='$collName'/></xsl:apply-templates></tr><tr valign='top'><td></td><xsl:apply-templates select='.' mode='process-node-children'><xsl:with-param name='collName' select='$collName'/><xsl:with-param name='link' select='$link'/></xsl:apply-templates></tr></xsl:for-each></table>
     
    197198<table><tr valign='top'><xsl:apply-templates select='node' mode='current-node'><xsl:with-param name='link' select='$link'/><xsl:with-param name='collName' select='$collName'/></xsl:apply-templates><xsl:apply-templates select='node' mode='process-node-children'><xsl:with-param name='collName' select='$collName'/><xsl:with-param name='link' select='$link'/></xsl:apply-templates></tr></table>
    198199</xsl:otherwise></xsl:choose>
     200</xsl:if>
    199201</td>
    200202</xsl:template>
Note: See TracChangeset for help on using the changeset viewer.