Revision 115
Added by Matt Jones over 24 years ago
index.html | ||
---|---|---|
1 |
<!-- |
|
2 |
* index.html |
|
3 |
* |
|
4 |
* Authors: Matt Jones |
|
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 metadata catalog tools |
|
13 |
--> |
|
14 |
<HTML> |
|
15 |
<HEAD> |
|
16 |
<TITLE>MetaCat</TITLE> |
|
17 |
</HEAD> |
|
18 |
<FRAMESET COLS="*" FRAMEBORDER=0 BORDER=0> |
|
19 |
|
|
20 |
<FRAMESET ROWS="165,*" FRAMEBORDER=0 BORDER=0> |
|
21 |
|
|
22 |
<FRAME SRC="contents.html" BORDER=0 NAME="left"> |
|
23 |
|
|
24 |
<FRAME SRC="/servlets/MetaCatServlet?action=query&query=NCEAS%25&qformat=html" BORDER=0 NAME="right"> |
|
25 |
|
|
26 |
</FRAMESET> |
|
27 |
</FRAMESET> |
|
28 | 0 |
loadxml.html | ||
---|---|---|
1 |
<!-- |
|
2 |
* loadxml.html |
|
3 |
* |
|
4 |
* Authors: Matt Jones |
|
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 |
* File Info: '$Id$' |
|
10 |
* |
|
11 |
* This is an HTML document for loading an xml document into Oracle |
|
12 |
--> |
|
13 |
<html> |
|
14 |
<head> |
|
15 |
<title>MetaCat</title> |
|
16 |
</head> |
|
17 |
<body bgcolor="white"> |
|
18 |
<b>MetaCat XML Loader</b> |
|
19 |
<p> |
|
20 |
Load an XML document into MetaCat by pasting the XML into this box. |
|
21 |
</p> |
|
22 |
<form action="/servlets/MetaCatServlet" target="right" method="POST"> |
|
23 |
<input type="hidden" name="action" value="putdocument"> |
|
24 |
<textarea name="doctext" cols="55" rows="15"></textarea> |
|
25 |
<br /> |
|
26 |
<input type="submit" value="Load XML"> |
|
27 |
</form> |
|
28 |
<p /> |
|
29 |
</body> |
|
30 |
</html> |
|
31 | 0 |
contents.html | ||
---|---|---|
1 |
<!-- |
|
2 |
* contents.html |
|
3 |
* |
|
4 |
* Authors: Matt Jones |
|
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 |
|
14 |
--> |
|
15 |
<html> |
|
16 |
<head> |
|
17 |
<title>MetaCat</title> |
|
18 |
</head> |
|
19 |
<body bgcolor="white"> |
|
20 |
<table width="100%"> |
|
21 |
<tr><td colspan="2"> |
|
22 |
<b>MetaCat Query</b> -- a simple database query against MetaCat |
|
23 |
</td></tr> |
|
24 |
<tr><td width="40%" valign="top"> |
|
25 |
<form action="/servlets/MetaCatServlet" target="right" method="POST"> |
|
26 |
<input type="hidden" name="action" value="query"> |
|
27 |
<input type="text" name="query" value="NCEAS%" size="15"> |
|
28 |
<input type="submit" value="Run query"><br /> |
|
29 |
Format: |
|
30 |
<input type="radio" name="qformat" value="xml">XML |
|
31 |
<input type="radio" name="qformat" value="html" checked>HTML |
|
32 |
</form> |
|
33 |
<a href="loadxml.html" target="right">Load an XML Document</a> |
|
34 |
<br /><a href="validate.html" target="right">Validate an XML Document</a> |
|
35 |
<br /><a href="docs/" target="top">Browse the API for the Servlet</a> |
|
36 |
</td> |
|
37 |
<td valign="top"> |
|
38 |
<font size="-1"> |
|
39 |
For the test database, some valid values for the search that produce document |
|
40 |
results include "Value1" and "lakename" and maybe "122W" |
|
41 |
<p> |
|
42 |
To view results that are XML formatted in this demo, it is easiest to use |
|
43 |
Internet Explorer 5. Although Netscape browsers will allow you to |
|
44 |
download XML documents, only IE5 will display XML at this time. |
|
45 |
</font> |
|
46 |
</td> |
|
47 |
</tr> |
|
48 |
</table> |
|
49 |
</body> |
|
50 |
</html> |
|
51 | 0 |
catalog.txt | ||
---|---|---|
1 |
OVERRIDE YES |
|
2 |
PUBLIC "-//NCEAS//eml-dataset//EN" "../dtd/eml-dataset.dtd" |
|
3 |
SYSTEM "urn:nceas:test-eml-dataset" "../dtd/eml-dataset.dtd" |
|
4 |
SYSTEM "eml-dataset.dtd" "../dtd/eml-dataset.dtd" |
|
5 |
|
|
6 |
OVERRIDE YES |
|
7 |
PUBLIC "-//NCEAS//eml-context//EN" "../dtd/eml-context.dtd" |
|
8 |
SYSTEM "urn:nceas:test-eml-context" "../dtd/eml-context.dtd" |
|
9 |
SYSTEM "eml-context.dtd" "../dtd/eml-context.dtd" |
|
10 |
|
|
11 |
OVERRIDE YES |
|
12 |
PUBLIC "-//NCEAS//eml-access//EN" "../dtd/eml-access.dtd" |
|
13 |
SYSTEM "urn:nceas:test-eml-access" "../dtd/eml-access.dtd" |
|
14 |
SYSTEM "eml-access.dtd" "../dtd/eml-access.dtd" |
|
15 |
|
|
16 |
OVERRIDE YES |
|
17 |
PUBLIC "-//NCEAS//eml-file//EN" "../dtd/eml-file.dtd" |
|
18 |
SYSTEM "urn:nceas:test-eml-file" "../dtd/eml-file.dtd" |
|
19 |
SYSTEM "eml-file.dtd" "../dtd/eml-file.dtd" |
|
20 |
|
|
21 |
OVERRIDE YES |
|
22 |
PUBLIC "-//NCEAS//eml-variable//EN" "../dtd/eml-variable.dtd" |
|
23 |
SYSTEM "urn:nceas:test-eml-variable" "../dtd/eml-variable.dtd" |
|
24 |
SYSTEM "eml-variable.dtd" "../dtd/eml-variable.dtd" |
|
25 |
|
|
26 |
OVERRIDE YES |
|
27 |
PUBLIC "-//NCEAS//eml-status//EN" "../dtd/eml-status.dtd" |
|
28 |
SYSTEM "urn:nceas:test-eml-status" "../dtd/eml-status.dtd" |
|
29 |
SYSTEM "eml-status.dtd" "../dtd/eml-status.dtd" |
|
30 |
|
|
31 |
OVERRIDE YES |
|
32 |
PUBLIC "-//NCEAS//eml-supplement//EN" "../dtd/eml-supplement.dtd" |
|
33 |
SYSTEM "urn:nceas:test-eml-supplement" "../dtd/eml-supplement.dtd" |
|
34 |
SYSTEM "eml-supplement.dtd" "../dtd/eml-supplement.dtd" |
|
35 |
|
|
36 |
OVERRIDE YES |
|
37 |
PUBLIC "-//NCEAS//eml-software//EN" "../dtd/eml-software.dtd" |
|
38 |
SYSTEM "urn:nceas:test-eml-software" "../dtd/eml-software.dtd" |
|
39 |
SYSTEM "eml-software.dtd" "../dtd/eml-software.dtd" |
|
40 | 0 |
validate.html | ||
---|---|---|
1 |
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
|
2 |
<html> |
|
3 |
<head> |
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
|
5 |
<meta name="GENERATOR" content="Mozilla/4.7 [en] (Win98; U) [Netscape]"> |
|
6 |
<title>Insert XML to be validated here:</title> |
|
7 |
</head> |
|
8 |
<body bgcolor="#FFFFFF"> |
|
9 |
Insert XML to be validated here: |
|
10 |
<br><form action="/servlets/MetaCatServlet" method="POST"> |
|
11 |
<input type="hidden" name="action" value="validate"> |
|
12 |
<p><textarea |
|
13 |
name="valtext" rows="16" cols="146"><?xml version="1.0"?> |
|
14 |
<!DOCTYPE eml-dataset PUBLIC "-//NCEAS//eml-dataset//EN" "eml-dataset.dtd"> <eml-dataset> <meta_file_id>NCEAS-1998-2090-Dataset</meta_file_id> |
|
15 |
<dataset_id>NCEAS-1998-2090</dataset_id> <title>Trapping locations, |
|
16 |
animal body mass, and breeding conditions of Neotoma fuscipes on Sedgwick |
|
17 |
Reserve</title> <originator> <party> <!--(party_individual|party_org)--> |
|
18 |
<party_individual description="Full name of individual"> <salutation |
|
19 |
description="Salutation">Dr.</salutation> <given_name description="First |
|
20 |
name">Rebecca</given_name> <surname description="Last Name">Burton</surname> |
|
21 |
</party_individual> <meta_address> <address>National Center for |
|
22 |
Ecological Analysis & Synthesis, University of California, Santa Barbara, |
|
23 |
735 State St., Suite 300</address> <city>Santa Barbara</city> |
|
24 |
<admin_area>CA</admin_area> <postal_code>93101</postal_code> |
|
25 |
<country>USA</country> <email>burton@nceas.ucsb.edu</email> |
|
26 |
<phone> </phone> </meta_address> </party> </originator> |
|
27 |
<abstract> <paragraph></paragraph> </abstract> <keyword_info> |
|
28 |
<keyword></keyword> <keyword_thesaurus></keyword_thesaurus> |
|
29 |
</keyword_info> <relations/> </eml-dataset></textarea> |
|
30 |
<p><input type="submit" name="B1" value="Submit"> |
|
31 |
<br></form> |
|
32 |
<p>The server has a catalog system for reading DTDs. All 8 EML DTDs are |
|
33 |
included as entries with the format: |
|
34 |
<p><font face="Courier">OVERRIDE YES</font> |
|
35 |
<br><font face="Courier">PUBLIC "-//NCEAS//eml-dataset//EN" "eml-dataset.dtd"</font> |
|
36 |
<br><font face="Courier">SYSTEM "urn:nceas:test-eml-dataset" "eml-dataset.dtd"</font> |
|
37 |
<br><font face="Courier">SYSTEM "eml-dataset.dtd" "eml-dataset.dtd"</font> |
|
38 |
<p>Any one of the indicated SYSTEM or PUBLIC identifiers can be used in |
|
39 |
the XML |
|
40 |
</body> |
|
41 |
</html> |
|
42 | 0 |
Also available in: Unified diff
moved html files and jar files to lib directory