Revision 400
Added by berkley over 23 years ago
marine.xsl | ||
---|---|---|
24 | 24 |
<link rel="stylesheet" type="text/css" href="@html-path@/marine/rowcol.css" /> |
25 | 25 |
</head> |
26 | 26 |
<body class="emlbody"> |
27 |
<script language="JavaScript"> |
|
28 |
function gotoNceas() |
|
29 |
{ |
|
30 |
window.location="http://www.nceas.ucsb.edu"; |
|
31 |
} |
|
32 |
</script> |
|
33 | 27 |
<a name="top" /> |
34 | 28 |
<table width="100%"> |
35 | 29 |
<tr> |
36 | 30 |
<td align="left" valign="top"> |
37 |
<form action="@html-path@/servlet/marine" |
|
31 |
<form action="@html-path@/servlet/marine#browse"
|
|
38 | 32 |
method="POST"> |
39 |
<input type="hidden" name="action" value="query" />
|
|
33 |
<input type="hidden" name="action" value="query" /> |
|
40 | 34 |
<input type="hidden" name="query" value="" /> |
41 | 35 |
<input type="hidden" name="qformat" value="html" /> |
42 |
<input type="hidden" name="operator" value="UNION" /> |
|
43 |
<input type="hidden" name="anyfield" value="%" /> |
|
44 |
<input type="submit" value="Browse the Database" size="15" /> |
|
36 |
<input type="hidden" name="operator" value="UNION" /> |
|
37 |
<input type="hidden" name="anyfield" value="%" /> |
|
38 |
<input type="hidden" name="returnfield" value="title" /> |
|
39 |
<input type="hidden" name="returnfield" value="surname" /> |
|
40 |
<input type="hidden" name="returnfield" value="organizationname" /> |
|
41 |
<input type="submit" value="Browse the Database" size="15" /> |
|
45 | 42 |
</form> |
46 | 43 |
</td> |
47 | 44 |
<td align="center" valign="bottom"> |
... | ... | |
49 | 46 |
onClick="gotoNceas()" /> |
50 | 47 |
</td> |
51 | 48 |
<td align="right" valign="top"> |
52 |
<form action="@html-path@/servlet/marine" |
|
49 |
<form action="@html-path@/servlet/marine#browse"
|
|
53 | 50 |
method="POST"> |
54 | 51 |
Quick Search: <input type="text" name="anyfield" size="10" /> |
55 | 52 |
<input type="hidden" name="action" value="query" /> |
56 | 53 |
<input type="hidden" name="qformat" value="html" /> |
57 | 54 |
<input type="hidden" name="operator" value="UNION" /> |
55 |
<input type="hidden" name="returnfield" value="title" /> |
|
56 |
<input type="hidden" name="returnfield" value="surname" /> |
|
57 |
<input type="hidden" name="returnfield" value="organizationname" /> |
|
58 | 58 |
</form> |
59 | 59 |
</td> |
60 | 60 |
</tr> |
... | ... | |
104 | 104 |
</p> |
105 | 105 |
</font> |
106 | 106 |
|
107 |
<form action="@html-path@/servlet/marine" |
|
107 |
<form action="@html-path@/servlet/marine#browse"
|
|
108 | 108 |
method="POST"> |
109 | 109 |
|
110 | 110 |
<table width="100%" border="1"> |
... | ... | |
243 | 243 |
</td> |
244 | 244 |
</tr> |
245 | 245 |
</table> |
246 |
<input type="hidden" name="action" value="query" />
|
|
246 |
<input type="hidden" name="action" value="query" /> |
|
247 | 247 |
<input type="hidden" name="qformat" value="html" /> |
248 | 248 |
<input type="hidden" name="operator" value="UNION" /> |
249 |
<!--note that the value of the returnfield can be in either |
|
250 |
-case but in the xsl:value-of statement the select attribute |
|
251 |
-must always be in lower case |
|
252 |
--> |
|
253 |
<input type="hidden" name="returnfield" value="surname" /> |
|
254 |
<input type="hidden" name="returnfield" value="givenname" /> |
|
255 |
<input type="hidden" name="returnfield" value="organizationname" /> |
|
249 | 256 |
|
250 | 257 |
<input type="submit" value="Query" /> |
251 | 258 |
<input type="reset" value="Clear Form" /> |
... | ... | |
304 | 311 |
</xsl:attribute> |
305 | 312 |
</input> |
306 | 313 |
</td> |
314 |
<!--note the lower case select attr. --> |
|
307 | 315 |
<td><xsl:value-of select="./doctitle"/> |
308 | 316 |
|
309 | 317 |
<xsl:text> </xsl:text> |
310 | 318 |
</td> |
311 |
<!-- <td><xsl:value-of select="./givenName" /> |
|
319 |
<td> |
|
320 |
<xsl:value-of select="./givenname" /> |
|
312 | 321 |
<xsl:text> </xsl:text> |
313 |
<xsl:value-of select="./surName" /> |
|
322 |
|
|
323 |
<xsl:value-of select="./surname" /> |
|
314 | 324 |
<xsl:text> </xsl:text> |
315 | 325 |
</td> |
316 |
<td><xsl:value-of select="./organizationName" />
|
|
326 |
<td><xsl:value-of select="./organizationname" />
|
|
317 | 327 |
<xsl:text> </xsl:text> |
318 | 328 |
</td> |
329 |
|
|
319 | 330 |
<td> |
320 |
<xsl:value-of select="./date_created" />
|
|
331 |
<xsl:value-of select="./createdate" />
|
|
321 | 332 |
<xsl:text> </xsl:text> |
322 | 333 |
</td> |
323 | 334 |
<td> |
324 |
<xsl:value-of select="./date_updated" />
|
|
335 |
<xsl:value-of select="./updatedate" />
|
|
325 | 336 |
<xsl:text> </xsl:text> |
326 |
</td> -->
|
|
337 |
</td> - |
|
327 | 338 |
</tr> |
328 | 339 |
</xsl:for-each> |
329 | 340 |
</table> |
Also available in: Unified diff
added support for the returnfield parameter