1
|
<%@ 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: daigle $'
|
11
|
* '$Date: 2008-04-02 16:28:31 -0700 (Wed, 02 Apr 2008) $'
|
12
|
* '$Revision: 3780 $'
|
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
|
|
34
|
<html>
|
35
|
<head>
|
36
|
<title>MetaCat</title>
|
37
|
<link rel="stylesheet" type="text/css" href="./rowcol.css">
|
38
|
</head>
|
39
|
<body class="emlbody">
|
40
|
<b>MetaCat XML Loader</b>
|
41
|
<p>
|
42
|
Upload, Change, or Delete an XML document using this form.
|
43
|
</p>
|
44
|
<form action="<%=SERVLET_URL%>" target="right" method="POST">
|
45
|
<strong>1. Choose an action: </strong>
|
46
|
<input type="radio" name="action" value="insert" checked> Insert
|
47
|
<input type="radio" name="action" value="update"> Update
|
48
|
<input type="radio" name="action" value="delete"> Delete
|
49
|
<input type="submit" value="Process Action">
|
50
|
<br />
|
51
|
<strong>2. Provide a Document ID </strong>
|
52
|
<input type="text" name="docid">
|
53
|
|
54
|
<br />
|
55
|
<strong>3. Provide XML text </strong> (not needed for Delete)
|
56
|
<strong>
|
57
|
<br />
|
58
|
<textarea name="doctext" cols="65" rows="15"></textarea>
|
59
|
<br />
|
60
|
<strong>4. Provide DTD text for upload </strong> (optional; not needed for Delete)
|
61
|
<br />
|
62
|
<textarea name="dtdtext" cols="65" rows="15"></textarea>
|
63
|
<br />
|
64
|
</form>
|
65
|
<p />
|
66
|
</body>
|
67
|
</html>
|