1 |
743
|
jones
|
<!--
|
2 |
|
|
* '$RCSfile$'
|
3 |
|
|
* Authors: Matt Jones
|
4 |
|
|
* Copyright: 2000 Regents of the University of California and the
|
5 |
|
|
* National Center for Ecological Analysis and Synthesis
|
6 |
|
|
* For Details: http://www.nceas.ucsb.edu/
|
7 |
|
|
*
|
8 |
|
|
* '$Author$'
|
9 |
|
|
* '$Date$'
|
10 |
|
|
* '$Revision$'
|
11 |
|
|
*
|
12 |
|
|
* This is an HTML document for displaying examples of the use of
|
13 |
|
|
* Oracle XML tools for query only
|
14 |
|
|
*
|
15 |
|
|
* This program is free software; you can redistribute it and/or modify
|
16 |
|
|
* it under the terms of the GNU General Public License as published by
|
17 |
|
|
* the Free Software Foundation; either version 2 of the License, or
|
18 |
|
|
* (at your option) any later version.
|
19 |
|
|
*
|
20 |
|
|
* This program is distributed in the hope that it will be useful,
|
21 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
22 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
23 |
|
|
* GNU General Public License for more details.
|
24 |
|
|
*
|
25 |
|
|
* You should have received a copy of the GNU General Public License
|
26 |
|
|
* along with this program; if not, write to the Free Software
|
27 |
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
|
|
-->
|
29 |
|
|
<html>
|
30 |
|
|
<head>
|
31 |
|
|
<title>MetaCat</title>
|
32 |
|
|
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
|
33 |
|
|
</head>
|
34 |
|
|
<body class="emlbody">
|
35 |
|
|
<table width="100%">
|
36 |
|
|
<tr><td colspan="2">
|
37 |
|
|
<b>MetaCat Query</b> -- a simple database query against MetaCat
|
38 |
|
|
</td></tr>
|
39 |
|
|
<tr><td width="40%" valign="top">
|
40 |
|
|
<form action="@servlet-path@" target="right" method="POST">
|
41 |
|
|
<input type="hidden" name="action" value="query">
|
42 |
|
|
<input type="text" name="anyfield" value="%" size="15">
|
43 |
|
|
<input type="submit" value="Run query"><br />
|
44 |
|
|
Format:
|
45 |
|
|
<input type="radio" name="qformat" value="xml">XML
|
46 |
|
|
<input type="radio" name="qformat" value="html" checked>HTML
|
47 |
|
|
<br />
|
48 |
|
|
Search only (filter):
|
49 |
|
|
<select name="filterdoctype">
|
50 |
|
|
<option value="-//NCEAS//eml-dataset-2.0//EN">eml-dataset-2.0
|
51 |
|
|
<option value="-//NCEAS//eml-dataset//EN">eml-dataset
|
52 |
|
|
</select>
|
53 |
|
|
</form>
|
54 |
|
|
<a href="login.html" target="_top">Login</a>
|
55 |
|
|
</td>
|
56 |
|
|
<td valign="top">
|
57 |
|
|
<font size="-1">
|
58 |
|
|
For the test database, some valid values for the search that produce document
|
59 |
|
|
results include "Value1" and "lakename" and maybe "122W"
|
60 |
|
|
<p>
|
61 |
|
|
To view results that are XML formatted in this demo, it is easiest to use
|
62 |
|
|
Internet Explorer 5. Although Netscape browsers will allow you to
|
63 |
|
|
download XML documents, only IE5 will display XML at this time.
|
64 |
|
|
</font>
|
65 |
|
|
</td>
|
66 |
|
|
</tr>
|
67 |
|
|
</table>
|
68 |
|
|
</body>
|
69 |
|
|
</html>
|