Revision 455
Added by berkley over 24 years ago
lib/marine/marine.xsl | ||
---|---|---|
259 | 259 |
value="resource/dataset/originator/individualName/givenName" /> |
260 | 260 |
<input type="hidden" name="returnfield" |
261 | 261 |
value="resource/dataset/originator/organizationName" /> |
262 |
<input type="hidden" name="returnfield" |
|
263 |
value="resource/dataset/keywordInfo/keyword" /> |
|
262 | 264 |
<input type="submit" value="Query" /> |
263 | 265 |
<input type="reset" value="Clear Form" /> |
264 | 266 |
|
... | ... | |
273 | 275 |
<center> |
274 | 276 |
<u><h2>Results</h2></u> |
275 | 277 |
</center> |
276 |
<form action="@html-path@/servlet/marine" method="POST"> |
|
277 |
<!-- abstractpath tells the servlet where the abstract is in the |
|
278 |
document. The % sign is used because the path could be |
|
279 |
resource/literature or resource/dataset. --> |
|
280 |
<input type="hidden" name="abstractpath" value="resource/%/abstract" /> |
|
281 |
<input type="hidden" name="action" value="getdocument"/> |
|
282 | 278 |
|
283 | 279 |
<table width="100%"> |
284 | 280 |
<tr class="rowodd"> |
... | ... | |
286 | 282 |
<th><font size="2"><xsl:text>Title</xsl:text></font></th> |
287 | 283 |
<th><font size="2"><xsl:text>Contacts</xsl:text></font></th> |
288 | 284 |
<th><font size="2"><xsl:text>Organization</xsl:text></font></th> |
289 |
<th><font size="2"><xsl:text>Creation Date</xsl:text></font></th>
|
|
290 |
<th><font size="2"><xsl:text>Last Updated</xsl:text></font></th>
|
|
285 |
<th><font size="2"><xsl:text>Keywords</xsl:text></font></th>
|
|
286 |
<th><font size="2"><xsl:text>Related Documents</xsl:text></font></th>
|
|
291 | 287 |
</tr> |
292 | 288 |
|
293 | 289 |
|
... | ... | |
303 | 299 |
</xsl:attribute> |
304 | 300 |
|
305 | 301 |
<td> |
302 |
<form action="@html-path@/servlet/marine" method="POST"> |
|
303 |
<!-- abstractpath tells the servlet where the abstract is in the |
|
304 |
document. The % sign is used because the path could be |
|
305 |
resource/literature or resource/dataset. --> |
|
306 |
<input type="hidden" name="abstractpath" value="resource/%/abstract" /> |
|
307 |
<input type="hidden" name="action" value="getdocument"/> |
|
306 | 308 |
<input border="0" type="image"> |
307 | 309 |
<xsl:attribute name="src"> |
308 | 310 |
<xsl:choose> |
... | ... | |
316 | 318 |
<xsl:value-of select="./docid"/> |
317 | 319 |
</xsl:attribute> |
318 | 320 |
</input> |
321 |
</form> |
|
319 | 322 |
</td> |
320 | 323 |
<td><font size="2"><xsl:value-of select="./doctitle"/></font> |
321 | 324 |
<xsl:text> </xsl:text> |
322 | 325 |
</td> |
323 | 326 |
<td> |
324 |
<font size="2"> |
|
325 |
<xsl:value-of |
|
326 |
select="./param[@name='resource/dataset/originator/individualName/givenName']" /> |
|
327 |
</font> |
|
328 |
<xsl:text> </xsl:text> |
|
327 |
<!--<xsl:for-each |
|
328 |
select="./param[@name='resource/dataset/originator/individualName/surName']" >--> |
|
329 |
<font size="2"> |
|
330 |
<xsl:value-of |
|
331 |
select="./param[@name='resource/dataset/originator/individualName/givenName']" /> |
|
332 |
</font> |
|
333 |
<xsl:text> </xsl:text> |
|
329 | 334 |
|
330 |
<font size="2"> |
|
331 |
<xsl:value-of |
|
332 |
select="./param[@name='resource/dataset/originator/individualName/surName']" /> |
|
333 |
</font>
|
|
334 |
<xsl:text> </xsl:text>
|
|
335 |
<font size="2">
|
|
336 |
<xsl:value-of
|
|
337 |
select="./param[@name='resource/dataset/originator/individualName/surName']" />
|
|
338 |
</font><br/>
|
|
339 |
<!--</xsl:for-each>-->
|
|
335 | 340 |
</td> |
336 | 341 |
<td> |
337 | 342 |
<font size="2"> |
... | ... | |
342 | 347 |
</td> |
343 | 348 |
|
344 | 349 |
<td> |
345 |
<font size="2"><xsl:value-of select="./createdate" /></font> |
|
346 |
<font size="2"><xsl:text> </xsl:text></font> |
|
350 |
<xsl:for-each |
|
351 |
select="./param[@name='resource/dataset/keywordInfo/keyword']" > |
|
352 |
<font size="2"> |
|
353 |
<xsl:value-of |
|
354 |
select="." /> |
|
355 |
<br/> |
|
356 |
</font> |
|
357 |
</xsl:for-each> |
|
358 |
<xsl:text> </xsl:text> |
|
347 | 359 |
</td> |
360 |
|
|
348 | 361 |
<td> |
349 |
<font size="2"><xsl:value-of select="./updatedate" /></font> |
|
350 |
<xsl:text> </xsl:text> |
|
362 |
<xsl:if test="count(./relation) > 0"> |
|
363 |
<form action="@html-path@/servlet/marine" method="POST"> |
|
364 |
<input type="hidden" name="action" value="getrelateddocument"/> |
|
365 |
<input type="hidden" name="qformat" value="xml" /> |
|
366 |
<xsl:for-each select="./relation"> |
|
367 |
<font size="2"> |
|
368 |
<input type="radio" name="url"> |
|
369 |
<!--<xsl:attribute name="name" > |
|
370 |
<xsl:value-of select="./../docid" /> |
|
371 |
</xsl:attribute> --> |
|
372 |
<xsl:attribute name="value" > |
|
373 |
<xsl:value-of select="./relationdoc" /> |
|
374 |
</xsl:attribute> |
|
375 |
<xsl:value-of select="./relationdoc" /> |
|
376 |
</input> |
|
377 |
</font> |
|
378 |
<br/> |
|
379 |
</xsl:for-each> |
|
380 |
<input type="submit" value="Get" /> |
|
381 |
</form> |
|
382 |
</xsl:if> |
|
383 |
<xsl:text> </xsl:text> |
|
351 | 384 |
</td> |
385 |
|
|
352 | 386 |
</tr> |
353 | 387 |
</xsl:for-each> |
354 | 388 |
</font> |
355 | 389 |
</table> |
356 |
</form> |
|
357 | 390 |
|
358 | 391 |
<h3><a href="#top">New Query</a></h3> |
359 | 392 |
|
Also available in: Unified diff
this stylesheet now processes relation information.