1 |
3780
|
daigle
|
<%@ page language="java" %>
|
2 |
|
|
<%
|
3 |
|
|
/**
|
4 |
|
|
* '$RCSfile$'
|
5 |
|
|
* Authors: Matt Jones
|
6 |
|
|
* Copyright: 2008 Regents of the University of California and the
|
7 |
|
|
* National Center for Ecological Analysis and Synthesis
|
8 |
|
|
* For Details: http://www.nceas.ucsb.edu/
|
9 |
|
|
*
|
10 |
|
|
* '$Author$'
|
11 |
|
|
* '$Date$'
|
12 |
|
|
* '$Revision$'
|
13 |
|
|
*
|
14 |
|
|
* This is an HTML document for loading an xml document into Oracle
|
15 |
|
|
*
|
16 |
|
|
* This program is free software; you can redistribute it and/or modify
|
17 |
|
|
* it under the terms of the GNU General Public License as published by
|
18 |
|
|
* the Free Software Foundation; either version 2 of the License, or
|
19 |
|
|
* (at your option) any later version.
|
20 |
|
|
*
|
21 |
|
|
* This program is distributed in the hope that it will be useful,
|
22 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
24 |
|
|
* GNU General Public License for more details.
|
25 |
|
|
*
|
26 |
|
|
* You should have received a copy of the GNU General Public License
|
27 |
|
|
* along with this program; if not, write to the Free Software
|
28 |
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
29 |
|
|
*/
|
30 |
|
|
%>
|
31 |
|
|
|
32 |
|
|
<%@ include file="../../common/common-settings.jsp"%>
|
33 |
4080
|
daigle
|
<%@ include file="../../common/configure-check.jsp"%>
|
34 |
3780
|
daigle
|
|
35 |
|
|
<html>
|
36 |
|
|
<head>
|
37 |
|
|
<title>MetaCat</title>
|
38 |
|
|
<link rel="stylesheet" type="text/css" href="./rowcol.css">
|
39 |
|
|
</head>
|
40 |
|
|
<body class="emlbody">
|
41 |
|
|
<b>MetaCat XML Loader</b>
|
42 |
|
|
<p>
|
43 |
|
|
Upload, Change, or Delete an XML document using this form.
|
44 |
|
|
</p>
|
45 |
|
|
<form action="<%=SERVLET_URL%>" target="right" method="POST">
|
46 |
|
|
<strong>1. Choose an action: </strong>
|
47 |
|
|
<input type="radio" name="action" value="insert" checked> Insert
|
48 |
|
|
<input type="radio" name="action" value="update"> Update
|
49 |
|
|
<input type="radio" name="action" value="delete"> Delete
|
50 |
|
|
<input type="submit" value="Process Action">
|
51 |
|
|
<br />
|
52 |
|
|
<strong>2. Provide a Document ID </strong>
|
53 |
|
|
<input type="text" name="docid">
|
54 |
|
|
|
55 |
|
|
<br />
|
56 |
|
|
<strong>3. Provide XML text </strong> (not needed for Delete)
|
57 |
|
|
<strong>
|
58 |
|
|
<br />
|
59 |
|
|
<textarea name="doctext" cols="65" rows="15"></textarea>
|
60 |
|
|
<br />
|
61 |
|
|
<strong>4. Provide DTD text for upload </strong> (optional; not needed for Delete)
|
62 |
|
|
<br />
|
63 |
|
|
<textarea name="dtdtext" cols="65" rows="15"></textarea>
|
64 |
|
|
<br />
|
65 |
|
|
</form>
|
66 |
|
|
<p />
|
67 |
|
|
</body>
|
68 |
|
|
</html>
|