Changeset 3814 for trunk/gsdl3/interfaces
- Timestamp:
- 2003-03-10T10:19:18+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/interfaces/default/transform/basicquery.xsl
r3790 r3814 134 134 <!-- Display the matching documents --> 135 135 <table> 136 <tr valign="top"> 137 <xsl:for-each select="content/documentList/document"> 138 <tr> 139 <xsl:apply-templates select="."> 140 <xsl:with-param name="collName" select="$collName"/> 141 </xsl:apply-templates> 136 <tr valign="top"> 137 <xsl:for-each select="content/documentList/documentNode"> 138 <tr> 139 <xsl:apply-templates select="."> 140 <xsl:with-param name="collName" select="$collName"/> 141 </xsl:apply-templates> 142 </tr> 143 </xsl:for-each> 142 144 </tr> 143 </xsl:for-each>144 </tr>145 145 </table> 146 146 </xsl:template> 147 147 148 148 149 <xsl:template match="document ">149 <xsl:template match="documentNode"> 150 150 <xsl:param name="collName">coll-name</xsl:param> 151 151 <xsl:variable name="library" select="ancestor::page/config/library_name"/> 152 152 153 153 <td> 154 <a href="{$library}?a=d&c={$collName}&d={@ name}">155 < img src="interfaces/default/images/book.gif" width="18" height="11" border="0" alt="open this document and view contents"/> <!-- TO DO -->154 <a href="{$library}?a=d&c={$collName}&d={@documentID}"> 155 <xsl:apply-templates select="." mode="displayNodeIcon"/> 156 156 </a> 157 157 </td>
Note:
See TracChangeset
for help on using the changeset viewer.