Project

General

Profile

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-07-06 21:25:34 -0700 (Sun, 06 Jul 2008) $'
12
 * '$Revision: 4080 $'
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
<%@ include file="../../common/configure-check.jsp"%>
34
   
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
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="Process Action">
51
  <br />
52
  <strong>2. Provide a Document ID </strong>
53
  <input type="text" name="docid"> 
54
  &nbsp;&nbsp;&nbsp;
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>
(13-13/28)