1 |
1929
|
brooke
|
<!--
|
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
|
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 |
|
|
Return:
|
49 |
|
|
<select name=returndoctype>
|
50 |
|
|
<option value="-//NCEAS//eml-dataset-2.0//EN">eml-dataset-2.0
|
51 |
|
|
<option value="-//NCEAS//eml-dataset//EN">eml-dataset
|
52 |
|
|
<option value="any">Any
|
53 |
|
|
</select>
|
54 |
|
|
</form>
|
55 |
|
|
<a href="@servlet-path@?action=logout&qformat=html" target="_top">Logout</a>
|
56 |
|
|
<br /><a href="loadxml.html" target="right">Load an XML Document</a>
|
57 |
|
|
<br /><a href="validate.html" target="right">Validate an XML Document</a>
|
58 |
|
|
<br /><a href="../docs/" target="top">Browse the API for the Servlet</a>
|
59 |
|
|
</td>
|
60 |
|
|
<td valign="top">
|
61 |
|
|
<font size="-1">
|
62 |
|
|
For the test database, some valid values for the search that produce document
|
63 |
|
|
results include "Value1" and "lakename" and maybe "122W"
|
64 |
|
|
<p>
|
65 |
|
|
To view results that are XML formatted in this demo, it is easiest to use
|
66 |
|
|
Internet Explorer 5. Although Netscape browsers will allow you to
|
67 |
|
|
download XML documents, only IE5 will display XML at this time.
|
68 |
|
|
</font>
|
69 |
|
|
</td>
|
70 |
|
|
</tr>
|
71 |
|
|
</table>
|
72 |
|
|
</body>
|
73 |
|
|
</html>
|