1 |
311
|
bojilova
|
<!--
|
2 |
666
|
jones
|
* '$RCSfile$'
|
3 |
|
|
* Authors: Matt Jones
|
4 |
311
|
bojilova
|
* 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 |
666
|
jones
|
*
|
8 |
|
|
* '$Author$'
|
9 |
|
|
* '$Date$'
|
10 |
|
|
* '$Revision$'
|
11 |
311
|
bojilova
|
*
|
12 |
|
|
* This is an HTML document for displaying examples of the use of
|
13 |
|
|
* Oracle XML tools for query only
|
14 |
666
|
jones
|
*
|
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 |
311
|
bojilova
|
-->
|
29 |
|
|
<html>
|
30 |
|
|
<head>
|
31 |
|
|
<title>MetaCat</title>
|
32 |
497
|
jones
|
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
|
33 |
311
|
bojilova
|
</head>
|
34 |
497
|
jones
|
<body class="emlbody">
|
35 |
311
|
bojilova
|
<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 |
348
|
jones
|
<form action="@servlet-path@" target="right" method="POST">
|
41 |
311
|
bojilova
|
<input type="hidden" name="action" value="query">
|
42 |
377
|
jones
|
<input type="text" name="anyfield" value="%" size="15">
|
43 |
311
|
bojilova
|
<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 |
|
|
Return:
|
49 |
743
|
jones
|
<select name="returndoctype">
|
50 |
|
|
<option value="-//NCEAS//eml-dataset-2.0//EN">eml-dataset-2.0
|
51 |
311
|
bojilova
|
<option value="-//NCEAS//eml-dataset//EN">eml-dataset
|
52 |
|
|
<option value="any">Any
|
53 |
|
|
</select>
|
54 |
|
|
</form>
|
55 |
328
|
bojilova
|
<a href="login.html" target="_top">Login</a>
|
56 |
311
|
bojilova
|
</td>
|
57 |
|
|
<td valign="top">
|
58 |
|
|
<font size="-1">
|
59 |
|
|
For the test database, some valid values for the search that produce document
|
60 |
|
|
results include "Value1" and "lakename" and maybe "122W"
|
61 |
|
|
<p>
|
62 |
|
|
To view results that are XML formatted in this demo, it is easiest to use
|
63 |
|
|
Internet Explorer 5. Although Netscape browsers will allow you to
|
64 |
|
|
download XML documents, only IE5 will display XML at this time.
|
65 |
|
|
</font>
|
66 |
|
|
</td>
|
67 |
|
|
</tr>
|
68 |
|
|
</table>
|
69 |
|
|
</body>
|
70 |
|
|
</html>
|