Changeset 3889
- Timestamp:
- 2003-03-18T13:28:18+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/interfaces/default/transform/document.xsl
r3864 r3889 64 64 </td> 65 65 <td valign="top"> 66 <xsl:apply-templates select="documentNode[@ documentID]">66 <xsl:apply-templates select="documentNode[@nodeID]"> 67 67 <xsl:with-param name="collName" select="$collName"/> 68 68 <xsl:with-param name="depth" select="0"/> … … 88 88 <!-- Display the appropriate image, depending on the node type --> 89 89 <td valign="top"> 90 <a href="{$library}?a=d&c={$collName}&d={@documentID}">90 <a><xsl:attribute name="href"><xsl:value-of select='$library'/>?a=d&c=<xsl:value-of select='$collName'/>&d=<xsl:value-of select='@nodeID'/><xsl:if test="documentNode">.pr</xsl:if><xsl:if test="@nodeType='leaf'">&sib=1</xsl:if></xsl:attribute> 91 91 <xsl:apply-templates select="." mode="displayNodeIcon"/> 92 92 </a> 93 93 </td> 94 94 95 <!-- Display associated title, bolded if the node is selected-->95 <!-- Display associated title, bolded if the node has content --> 96 96 <td valign="top"> 97 97 <xsl:choose> 98 <xsl:when test=" content">98 <xsl:when test="documentNodeContent"> 99 99 <b><xsl:value-of select="metadataList/metadata[@name='Title']"/></b> 100 100 </xsl:when> … … 108 108 109 109 <!-- Apply recursively to the children of this node --> 110 <xsl:apply-templates select="documentNode[@ documentID]">110 <xsl:apply-templates select="documentNode[@nodeID]"> 111 111 <xsl:with-param name="collName" select="$collName"/> 112 112 <xsl:with-param name="depth" select="$depth + 1"/>
Note:
See TracChangeset
for help on using the changeset viewer.