Revision 5357
Added by Jing Tao over 14 years ago
lib/style/skins/kepler/resultset.xsl | ||
---|---|---|
266 | 266 |
</tr> |
267 | 267 |
|
268 | 268 |
<xsl:for-each select="resultset/document"> |
269 |
<xsl:sort select="./param[@name='/entity/@name']"/> |
|
269 |
<xsl:sort select="./param[@name='karEntry/karEntryXML/entity/@name']"/>
|
|
270 | 270 |
<xsl:variable name="sq">'</xsl:variable> |
271 | 271 |
<tr class="entry"> |
272 | 272 |
|
... | ... | |
275 | 275 |
</td> |
276 | 276 |
|
277 | 277 |
<td class="text_plain" style="white-space: nowrap;"> |
278 |
<xsl:if test="./param[@name='entity/@name']!=''"> |
|
278 |
<xsl:if test="./param[@name='karEntry/karEntryXML/entity/@name']!=''">
|
|
279 | 279 |
<b style="font-size: larger;"> |
280 |
<xsl:value-of select="./param[@name='entity/@name']"/> |
|
280 |
<xsl:value-of select="./param[@name='karEntry/karEntryXML/entity/@name']"/>
|
|
281 | 281 |
</b> |
282 | 282 |
</xsl:if> |
283 | 283 |
</td> |
284 | 284 |
|
285 | 285 |
<td class="text_plain"> |
286 |
<xsl:value-of select="./param[@name=concat('entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'author', $sq, ']/configure')]"/>
|
|
286 |
<xsl:value-of select="./param[@name=concat('karEntry/karEntryXML/entity/property[@name=', $sq, 'author', $sq, ']/configure')]"/>
|
|
287 | 287 |
</td> |
288 | 288 |
|
289 | 289 |
<td class="text_plain"> |
290 |
<xsl:value-of select="./param[@name=concat('entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'version', $sq, ']/configure')]"/> |
|
290 |
<xsl:value-of select="./param[@name=concat('karEntry/karEntryXML/entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'version', $sq, ']/configure')]"/>
|
|
291 | 291 |
</td> |
292 | 292 |
|
293 | 293 |
<td class="text_plain"> |
294 | 294 |
<a class="dl"> |
295 | 295 |
<xsl:attribute name="href"> |
296 | 296 |
<xsl:value-of select="$httpServer"/><xsl:text>/authority/data?lsid=</xsl:text> |
297 |
<xsl:value-of select="./param[@name=concat('entity/property[@name=', $sq, 'karId', $sq, ']/@value')]"/>
|
|
297 |
<xsl:value-of select="./param[@name='mainAttributes/lsid']"/>
|
|
298 | 298 |
</xsl:attribute> |
299 | 299 |
|
300 | 300 |
<xsl:text>Download</xsl:text> |
... | ... | |
305 | 305 |
<tr> |
306 | 306 |
<td class="text_plain"></td> |
307 | 307 |
<td class="text_plain" colspan="6"> |
308 |
<xsl:variable name="docClip" select="substring(./param[@name=concat('entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'userLevelDocumentation', $sq, ']/configure')], 0, 200)"/> |
|
308 |
<xsl:variable name="docClip" select="substring(./param[@name=concat('karEntry/karEntryXML/entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'userLevelDocumentation', $sq, ']/configure')], 0, 200)"/>
|
|
309 | 309 |
<xsl:value-of select="$docClip"/> |
310 | 310 |
<xsl:text> </xsl:text> |
311 | 311 |
<!-- <xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure) > 0"> |
lib/style/skins/kepler/searchform.jsp | ||
---|---|---|
52 | 52 |
<input name="operator" value="UNION" type="hidden"> |
53 | 53 |
<input name="pagesize" value="10" type="hidden"> |
54 | 54 |
<input name="pagestart" value="0" type="hidden"> |
55 |
<input name="returnfield" value="entity/@name" type="hidden"> |
|
56 |
<input name="returnfield" value="entity/property[@name='karId']/@value" type="hidden">
|
|
57 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='author']/configure" type="hidden">
|
|
58 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden"> |
|
59 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden"> |
|
60 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden"> |
|
61 |
<input name="returndoctype" value="entity" type="hidden">
|
|
55 |
<input name="returnfield" value="karEntry/karEntryXML/entity/@name" type="hidden">
|
|
56 |
<input name="returnfield" value="mainAttributes/lsid" type="hidden">
|
|
57 |
<input name="returnfield" value="karEntry/karEntryXML/entity/property[@name='author']/configure" type="hidden">
|
|
58 |
<input name="returnfield" value="karEntry/karEntryXML/entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden">
|
|
59 |
<input name="returnfield" value="karEntry/karEntryXML/entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden">
|
|
60 |
<input name="returnfield" value="karEntry/karEntryXML/entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
|
|
61 |
<input name="returndoctype" value="http://www.kepler-project.org/kar-2.0.0" type="hidden">
|
|
62 | 62 |
<input value="Search Components" type="submit"> |
63 | 63 |
</form> |
64 | 64 |
</td> |
... | ... | |
72 | 72 |
<input name="operator" value="UNION" type="hidden"> |
73 | 73 |
<input name="pagesize" value="10" type="hidden"> |
74 | 74 |
<input name="pagestart" value="0" type="hidden"> |
75 |
<input name="returnfield" value="entity/@name" type="hidden">
|
|
76 |
<input name="returnfield" value="entity/property[@name='karId']/@value" type="hidden">
|
|
77 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='author']/configure" type="hidden">
|
|
78 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden"> |
|
79 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden"> |
|
80 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden"> |
|
81 |
<input name="returndoctype" value="entity" type="hidden">
|
|
75 |
<input name="returnfield" value="karEntry/karEntryXML/entity/@name" type="hidden">
|
|
76 |
<input name="returnfield" value="mainAttributes/lsid" type="hidden">
|
|
77 |
<input name="returnfield" value="karEntry/karEntryXML/entity/property[@name='author']/configure" type="hidden">
|
|
78 |
<input name="returnfield" value="karEntry/karEntryXML/entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden">
|
|
79 |
<input name="returnfield" value="karEntry/karEntryXML/entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden">
|
|
80 |
<input name="returnfield" value="karEntry/karEntryXML/entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
|
|
81 |
<input name="returndoctype" value="http://www.kepler-project.org/kar-2.0.0" type="hidden">
|
|
82 | 82 |
<input value="Browse All Components" type="Submit"> |
83 | 83 |
</form> |
84 | 84 |
</td> |
Also available in: Unified diff
Change the search query according to the karxml change.