1 |
77
|
jones
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
2 |
666
|
jones
|
<!--
|
3 |
|
|
* '$RCSfile$'
|
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 |
|
|
*
|
9 |
|
|
* '$Author$'
|
10 |
|
|
* '$Date$'
|
11 |
|
|
* '$Revision$'
|
12 |
|
|
*
|
13 |
|
|
* This is an HTML document for loading an xml document into Oracle
|
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 |
77
|
jones
|
<html>
|
30 |
|
|
<head>
|
31 |
|
|
<title>Insert XML to be validated here:</title>
|
32 |
497
|
jones
|
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
|
33 |
77
|
jones
|
</head>
|
34 |
497
|
jones
|
<body class="emlbody">
|
35 |
77
|
jones
|
Insert XML to be validated here:
|
36 |
348
|
jones
|
<br><form action="@servlet-path@" method="POST">
|
37 |
77
|
jones
|
<input type="hidden" name="action" value="validate">
|
38 |
|
|
<p><textarea
|
39 |
|
|
name="valtext" rows="16" cols="146"><?xml version="1.0"?>
|
40 |
83
|
jones
|
<!DOCTYPE eml-dataset PUBLIC "-//NCEAS//eml-dataset//EN" "eml-dataset.dtd"> <eml-dataset> <meta_file_id>NCEAS-1998-2090-Dataset</meta_file_id>
|
41 |
77
|
jones
|
<dataset_id>NCEAS-1998-2090</dataset_id> <title>Trapping locations,
|
42 |
|
|
animal body mass, and breeding conditions of Neotoma fuscipes on Sedgwick
|
43 |
|
|
Reserve</title> <originator> <party> <!--(party_individual|party_org)-->
|
44 |
|
|
<party_individual description="Full name of individual"> <salutation
|
45 |
|
|
description="Salutation">Dr.</salutation> <given_name description="First
|
46 |
|
|
name">Rebecca</given_name> <surname description="Last Name">Burton</surname>
|
47 |
|
|
</party_individual> <meta_address> <address>National Center for
|
48 |
|
|
Ecological Analysis & Synthesis, University of California, Santa Barbara,
|
49 |
|
|
735 State St., Suite 300</address> <city>Santa Barbara</city>
|
50 |
|
|
<admin_area>CA</admin_area> <postal_code>93101</postal_code>
|
51 |
|
|
<country>USA</country> <email>burton@nceas.ucsb.edu</email>
|
52 |
|
|
<phone> </phone> </meta_address> </party> </originator>
|
53 |
|
|
<abstract> <paragraph></paragraph> </abstract> <keyword_info>
|
54 |
|
|
<keyword></keyword> <keyword_thesaurus></keyword_thesaurus>
|
55 |
|
|
</keyword_info> <relations/> </eml-dataset></textarea>
|
56 |
|
|
<p><input type="submit" name="B1" value="Submit">
|
57 |
|
|
<br></form>
|
58 |
|
|
<p>The server has a catalog system for reading DTDs. All 8 EML DTDs are
|
59 |
|
|
included as entries with the format:
|
60 |
|
|
<p><font face="Courier">OVERRIDE YES</font>
|
61 |
|
|
<br><font face="Courier">PUBLIC "-//NCEAS//eml-dataset//EN" "eml-dataset.dtd"</font>
|
62 |
|
|
<br><font face="Courier">SYSTEM "urn:nceas:test-eml-dataset" "eml-dataset.dtd"</font>
|
63 |
|
|
<br><font face="Courier">SYSTEM "eml-dataset.dtd" "eml-dataset.dtd"</font>
|
64 |
|
|
<p>Any one of the indicated SYSTEM or PUBLIC identifiers can be used in
|
65 |
|
|
the XML
|
66 |
|
|
</body>
|
67 |
|
|
</html>
|