Revision 664
Added by berkley almost 24 years ago
lib/marine/marine.xsl | ||
---|---|---|
58 | 58 |
value="-//NCEAS//resource//EN" /> |
59 | 59 |
<input type="hidden" name="returndoc" |
60 | 60 |
value="-//NCEAS//eml-dataset//EN" /> |
61 |
<input type="hidden" name="site" value="MARINE" />
|
|
61 |
<!--<input type="hidden" name="site" value="MARINE" />-->
|
|
62 | 62 |
<input border="0" type="image" |
63 | 63 |
src="@image-path@/marine/browsebutton.jpg" |
64 | 64 |
alt="browse the database" |
... | ... | |
99 | 99 |
value="-//NCEAS//resource//EN" /> |
100 | 100 |
<input type="hidden" name="returndoc" |
101 | 101 |
value="-//NCEAS//eml-dataset//EN" /> |
102 |
<input type="hidden" name="site" value="MARINE" />
|
|
102 |
<!-- <input type="hidden" name="site" value="MARINE" /> -->
|
|
103 | 103 |
</form> |
104 | 104 |
</td> |
105 | 105 |
</tr> |
... | ... | |
148 | 148 |
</p> |
149 | 149 |
</font> |
150 | 150 |
<hr /> |
151 |
<form action="@html-path@/servlet/marine#browse"
|
|
151 |
<form action="http://@server@@servlet-path@#browse"
|
|
152 | 152 |
method="POST"> |
153 | 153 |
<a name="beginform" /> |
154 | 154 |
<table width="100%" border="0"> |
... | ... | |
300 | 300 |
value="-//NCEAS//resource//EN" /> |
301 | 301 |
<input type="hidden" name="returndoc" |
302 | 302 |
value="-//NCEAS//eml-dataset//EN" /> |
303 |
<input type="hidden" name="site" value="MARINE" />
|
|
303 |
<!--<input type="hidden" name="site" value="MARINE" />-->
|
|
304 | 304 |
<input type="submit" value="Search" /> |
305 | 305 |
<input type="reset" value="Clear Form" /> |
306 | 306 |
|
... | ... | |
329 | 329 |
|
330 | 330 |
<!--<xsl:for-each select="resultset/document[doctype = 'resource']">--> |
331 | 331 |
<xsl:for-each select="resultset/document"> |
332 |
<xsl:sort select="doctitle"/> |
|
332 |
<!-- <xsl:if test="./doctitle != ''" > --> |
|
333 |
<xsl:sort order="ascending" select="doctitle"/> |
|
333 | 334 |
<tr valign="top"> |
334 | 335 |
<xsl:attribute name="class"> |
335 | 336 |
<xsl:choose> |
... | ... | |
337 | 338 |
<xsl:when test="position() mod 2 = 0">roweven</xsl:when> |
338 | 339 |
</xsl:choose> |
339 | 340 |
</xsl:attribute> |
340 |
|
|
341 |
|
|
341 | 342 |
<td> |
342 | 343 |
<font size="3"> |
343 | 344 |
<xsl:value-of select="./param[@name='resource/dataset/title']"/> |
344 | 345 |
<xsl:value-of select="./param[@name='eml-dataset/title']"/> |
345 | 346 |
<br/> |
346 | 347 |
</font> |
348 |
|
|
347 | 349 |
<p><pre>Document ID: <xsl:value-of select="./docid"/></pre></p> |
348 | 350 |
</td> |
349 | 351 |
<td> |
... | ... | |
385 | 387 |
</a><br /> |
386 | 388 |
</font> |
387 | 389 |
</form> |
390 |
|
|
388 | 391 |
</td> |
389 | 392 |
<td> |
390 | 393 |
<xsl:if test="count(./relation) > 0"> |
... | ... | |
424 | 427 |
</xsl:if> |
425 | 428 |
<xsl:if test="starts-with(./relationdoc, 'metacat')"> |
426 | 429 |
<xsl:attribute name="href"> |
427 |
<xsl:text>http://dev.nceas.ucsb.edu@html-path@/servlet/marine/?action=read&qformat=html&docid=</xsl:text>
|
|
430 |
<xsl:text>http://@server@@servlet-path@?action=read&qformat=html&docid=</xsl:text>
|
|
428 | 431 |
<xsl:value-of select="./relationdoc" /> |
429 | 432 |
</xsl:attribute> |
430 | 433 |
<xsl:if test="./relationdoctype = '-//NCEAS//eml-variable//EN'"> |
... | ... | |
459 | 462 |
<br/> |
460 | 463 |
</xsl:for-each> |
461 | 464 |
</xsl:if> |
465 |
|
|
462 | 466 |
</td> |
463 | 467 |
<td> |
464 | 468 |
<xsl:for-each |
... | ... | |
500 | 504 |
<td> |
501 | 505 |
<xsl:text> </xsl:text> |
502 | 506 |
<xsl:if test="count(./relation) > 0"> |
503 |
<form action="@html-path@/servlet/marine" method="POST">
|
|
507 |
<form action="@server@@servlet-path@" method="POST">
|
|
504 | 508 |
<input type="hidden" name="action" value="read"/> |
505 | 509 |
<input type="hidden" name="qformat" value="xml" /> |
506 | 510 |
<xsl:for-each select="./relation"> |
... | ... | |
517 | 521 |
<input type="submit" value="Get" /> |
518 | 522 |
</form> |
519 | 523 |
</xsl:if> |
524 |
|
|
520 | 525 |
</td> |
521 | 526 |
--> |
522 | 527 |
</tr> |
528 |
<!-- </xsl:if> (if ./doctitle !- '')--> |
|
523 | 529 |
</xsl:for-each> |
524 | 530 |
</font> |
525 | 531 |
</table> |
Also available in: Unified diff
updated the syntax of some form parameters, put in build strings