Project

General

Profile

« Previous | Next » 

Revision 115

Added by Matt Jones over 24 years ago

moved html files and jar files to lib directory

View differences:

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">&lt;?xml version="1.0"?>
14
&lt;!DOCTYPE eml-dataset PUBLIC "-//NCEAS//eml-dataset//EN" "eml-dataset.dtd"> &lt;eml-dataset> &lt;meta_file_id>NCEAS-1998-2090-Dataset&lt;/meta_file_id>
15
&lt;dataset_id>NCEAS-1998-2090&lt;/dataset_id> &lt;title>Trapping locations,
16
animal body mass, and breeding conditions of Neotoma fuscipes on Sedgwick
17
Reserve&lt;/title> &lt;originator> &lt;party> &lt;!--(party_individual|party_org)-->
18
&lt;party_individual description="Full name of individual"> &lt;salutation
19
description="Salutation">Dr.&lt;/salutation> &lt;given_name description="First
20
name">Rebecca&lt;/given_name> &lt;surname description="Last Name">Burton&lt;/surname>
21
&lt;/party_individual> &lt;meta_address> &lt;address>National Center for
22
Ecological Analysis &amp; Synthesis, University of California, Santa Barbara,
23
735 State St., Suite 300&lt;/address> &lt;city>Santa Barbara&lt;/city>
24
&lt;admin_area>CA&lt;/admin_area> &lt;postal_code>93101&lt;/postal_code>
25
&lt;country>USA&lt;/country> &lt;email>burton@nceas.ucsb.edu&lt;/email>
26
&lt;phone> &lt;/phone> &lt;/meta_address> &lt;/party> &lt;/originator>
27
&lt;abstract> &lt;paragraph>&lt;/paragraph> &lt;/abstract> &lt;keyword_info>
28
&lt;keyword>&lt;/keyword> &lt;keyword_thesaurus>&lt;/keyword_thesaurus>
29
&lt;/keyword_info> &lt;relations/> &lt;/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