Revision 5732
Added by ben leinfelder almost 14 years ago
resultset.xsl | ||
---|---|---|
135 | 135 |
|
136 | 136 |
<tr> |
137 | 137 |
<td colspan="2"> |
138 |
Citation: |
|
139 |
<xsl:text> </xsl:text> |
|
140 |
<a> |
|
141 |
<xsl:attribute name="href"> |
|
142 |
<xsl:value-of select="$tripleURI"/><xsl:value-of select="./docid"/> |
|
143 |
</xsl:attribute> |
|
144 |
<xsl:value-of select="$contextURL" /><![CDATA[/metacat/]]><xsl:value-of select="./docid"/><![CDATA[/]]><xsl:value-of select="$qformat" /> |
|
145 |
</a> |
|
138 |
<table class="subGroup subGroup_border onehundred_percent"> |
|
139 |
<tr> |
|
140 |
<td class="rowodd"> |
|
141 |
Citation: |
|
142 |
</td> |
|
143 |
<td class="roweven"> |
|
144 |
<!-- the author --> |
|
145 |
<xsl:choose> |
|
146 |
<xsl:when test="count(./param[@name='creator/individualName/surName']) > 0"> |
|
147 |
<xsl:for-each select="./param[@name='creator/individualName/surName']"> |
|
148 |
<xsl:value-of select="." /> |
|
149 |
<xsl:if test="position() != last()">, </xsl:if> |
|
150 |
</xsl:for-each> |
|
151 |
</xsl:when> |
|
152 |
<xsl:otherwise> |
|
153 |
<xsl:for-each select="./param[@name='creator/organizationName']"> |
|
154 |
<xsl:value-of select="." /> |
|
155 |
<xsl:if test="position() != last()">, </xsl:if> |
|
156 |
</xsl:for-each> |
|
157 |
</xsl:otherwise> |
|
158 |
</xsl:choose> |
|
159 |
<xsl:text>. </xsl:text> |
|
160 |
<!-- the pubdate --> |
|
161 |
<xsl:value-of select="substring(string(./param[@name='dataset/pubDate']),1,4)"/> |
|
162 |
<xsl:if test="substring(string(./param[@name='dataset/pubDate']),1,4) != ''">. </xsl:if> |
|
163 |
<!-- the link --> |
|
164 |
<a> |
|
165 |
<xsl:attribute name="href"> |
|
166 |
<xsl:value-of select="$tripleURI"/><xsl:value-of select="./docid"/> |
|
167 |
</xsl:attribute> |
|
168 |
<xsl:value-of select="$contextURL" /><![CDATA[/metacat/]]><xsl:value-of select="./docid"/><![CDATA[/]]><xsl:value-of select="$qformat" /> |
|
169 |
</a> |
|
170 |
</td> |
|
171 |
</tr> |
|
172 |
</table> |
|
146 | 173 |
</td> |
147 | 174 |
</tr> |
148 | 175 |
|
Also available in: Unified diff
include more details in the Citation section