1 |
311
|
bojilova
|
<!--
|
2 |
|
|
* queform.html
|
3 |
|
|
*
|
4 |
|
|
* Authors: Jivka Bojilova
|
5 |
|
|
* Copyright: 2000 Regents of the University of California and the
|
6 |
|
|
* National Center for Ecological Analysis and Synthesis
|
7 |
|
|
* For Details: http://www.nceas.ucsb.edu/
|
8 |
|
|
* Created: 2000 April 5
|
9 |
|
|
* Version: 0.01
|
10 |
|
|
* File Info: '$Id$'
|
11 |
|
|
*
|
12 |
|
|
* This is an HTML document for displaying examples of the use of
|
13 |
|
|
* Oracle XML tools for query only
|
14 |
|
|
-->
|
15 |
|
|
<html>
|
16 |
|
|
<head>
|
17 |
|
|
<title>MetaCat</title>
|
18 |
497
|
jones
|
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
|
19 |
311
|
bojilova
|
</head>
|
20 |
497
|
jones
|
<body class="emlbody">
|
21 |
311
|
bojilova
|
<table width="100%">
|
22 |
|
|
<tr><td colspan="2">
|
23 |
|
|
<b>MetaCat Query</b> -- a simple database query against MetaCat
|
24 |
|
|
</td></tr>
|
25 |
|
|
<tr><td width="40%" valign="top">
|
26 |
348
|
jones
|
<form action="@servlet-path@" target="right" method="POST">
|
27 |
311
|
bojilova
|
<input type="hidden" name="action" value="query">
|
28 |
377
|
jones
|
<input type="text" name="anyfield" value="%" size="15">
|
29 |
311
|
bojilova
|
<input type="submit" value="Run query"><br />
|
30 |
|
|
Format:
|
31 |
|
|
<input type="radio" name="qformat" value="xml">XML
|
32 |
|
|
<input type="radio" name="qformat" value="html" checked>HTML
|
33 |
|
|
<br />
|
34 |
|
|
Return:
|
35 |
|
|
<select name=doctype>
|
36 |
|
|
<option value="-//NCEAS//eml-dataset//EN">eml-dataset
|
37 |
|
|
<option value="any">Any
|
38 |
|
|
</select>
|
39 |
|
|
</form>
|
40 |
328
|
bojilova
|
<a href="login.html" target="_top">Login</a>
|
41 |
311
|
bojilova
|
</td>
|
42 |
|
|
<td valign="top">
|
43 |
|
|
<font size="-1">
|
44 |
|
|
For the test database, some valid values for the search that produce document
|
45 |
|
|
results include "Value1" and "lakename" and maybe "122W"
|
46 |
|
|
<p>
|
47 |
|
|
To view results that are XML formatted in this demo, it is easiest to use
|
48 |
|
|
Internet Explorer 5. Although Netscape browsers will allow you to
|
49 |
|
|
download XML documents, only IE5 will display XML at this time.
|
50 |
|
|
</font>
|
51 |
|
|
</td>
|
52 |
|
|
</tr>
|
53 |
|
|
</table>
|
54 |
|
|
</body>
|
55 |
|
|
</html>
|