Changeset 3582
- Timestamp:
- 2002-11-26T14:56:52+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/interfaces/default/transform/classifier.xsl
r3564 r3582 10 10 11 11 <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> 13 13 <html> 14 14 <xsl:call-template name="greenstoneHead"/> … … 191 191 <xsl:param name="link">icon</xsl:param> 192 192 <td><p/> 193 <xsl:if test='node'><!-- only do this if there are child nodes - netscape craps out at an empty table like <table /> --> 193 194 <xsl:choose><xsl:when test='@type="vertical"'> 194 195 <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> … … 197 198 <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> 198 199 </xsl:otherwise></xsl:choose> 200 </xsl:if> 199 201 </td> 200 202 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.