1 |
47
|
jones
|
<!--
|
2 |
666
|
jones
|
* '$RCSfile$'
|
3 |
47
|
jones
|
* 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 |
666
|
jones
|
*
|
8 |
|
|
* '$Author$'
|
9 |
|
|
* '$Date$'
|
10 |
|
|
* '$Revision$'
|
11 |
47
|
jones
|
*
|
12 |
|
|
* This is an HTML document for displaying examples of the use of
|
13 |
|
|
* Oracle XML tools
|
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 |
47
|
jones
|
-->
|
29 |
|
|
<html>
|
30 |
|
|
<head>
|
31 |
|
|
<title>MetaCat</title>
|
32 |
497
|
jones
|
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
|
33 |
47
|
jones
|
</head>
|
34 |
497
|
jones
|
<body class="emlbody">
|
35 |
105
|
jones
|
<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 |
49
|
jones
|
<input type="hidden" name="action" value="query">
|
42 |
377
|
jones
|
<input type="text" name="anyfield" value="%" size="15">
|
43 |
105
|
jones
|
<input type="submit" value="Run query"><br />
|
44 |
50
|
jones
|
Format:
|
45 |
|
|
<input type="radio" name="qformat" value="xml">XML
|
46 |
|
|
<input type="radio" name="qformat" value="html" checked>HTML
|
47 |
154
|
jones
|
<br />
|
48 |
|
|
Return:
|
49 |
|
|
<select name=doctype>
|
50 |
|
|
<option value="-//NCEAS//eml-dataset//EN">eml-dataset
|
51 |
|
|
<option value="any">Any
|
52 |
|
|
</select>
|
53 |
47
|
jones
|
</form>
|
54 |
508
|
bojilova
|
<a href="@servlet-path@?action=logout&qformat=html" target="_top">Logout</a>
|
55 |
347
|
bojilova
|
<br /><a href="loadxml.html" target="right">Load an XML Document</a>
|
56 |
105
|
jones
|
<br /><a href="validate.html" target="right">Validate an XML Document</a>
|
57 |
119
|
jones
|
<br /><a href="../docs/" target="top">Browse the API for the Servlet</a>
|
58 |
105
|
jones
|
</td>
|
59 |
|
|
<td valign="top">
|
60 |
|
|
<font size="-1">
|
61 |
50
|
jones
|
For the test database, some valid values for the search that produce document
|
62 |
78
|
jones
|
results include "Value1" and "lakename" and maybe "122W"
|
63 |
50
|
jones
|
<p>
|
64 |
|
|
To view results that are XML formatted in this demo, it is easiest to use
|
65 |
|
|
Internet Explorer 5. Although Netscape browsers will allow you to
|
66 |
|
|
download XML documents, only IE5 will display XML at this time.
|
67 |
105
|
jones
|
</font>
|
68 |
|
|
</td>
|
69 |
|
|
</tr>
|
70 |
|
|
</table>
|
71 |
47
|
jones
|
</body>
|
72 |
|
|
</html>
|