1
|
<%@ page language="java" %>
|
2
|
<%
|
3
|
/**
|
4
|
* '$RCSfile$'
|
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: daigle $'
|
10
|
* '$Date: 2008-11-03 16:09:04 -0800 (Mon, 03 Nov 2008) $'
|
11
|
* '$Revision: 4505 $'
|
12
|
*
|
13
|
* This program is free software; you can redistribute it and/or modify
|
14
|
* it under the terms of the GNU General Public License as published by
|
15
|
* the Free Software Foundation; either version 2 of the License, or
|
16
|
* (at your option) any later version.
|
17
|
*
|
18
|
* This program is distributed in the hope that it will be useful,
|
19
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21
|
* GNU General Public License for more details.
|
22
|
*
|
23
|
* You should have received a copy of the GNU General Public License
|
24
|
* along with this program; if not, write to the Free Software
|
25
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26
|
*
|
27
|
* This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
|
28
|
* convert an XML file showing the resultset of a query
|
29
|
* into an HTML format suitable for rendering with modern web browsers.
|
30
|
*/
|
31
|
%>
|
32
|
<%@ include file="templates/jsp/portal_settings.jsp"%>
|
33
|
<%@ include file="templates/jsp/include_session_vars.jsp"%>
|
34
|
<%
|
35
|
///////////////////////////////////////////////////////////////////////////////
|
36
|
// NOTE:
|
37
|
//
|
38
|
// GLOBAL CONSTANTS (SETTINGS SUCH AS METACAT URL, LDAP DOMAIN AND DEBUG
|
39
|
// SWITCH) ARE ALL IN THE INCLUDE FILE "portal_settings.jsp"
|
40
|
///////////////////////////////////////////////////////////////////////////////
|
41
|
%>
|
42
|
<?xml version="1.0" encoding="utf-8"?>
|
43
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
44
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
45
|
<html>
|
46
|
<head>
|
47
|
<title>PISCO Data Catalog</title>
|
48
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
49
|
<link rel="stylesheet" type="text/css"
|
50
|
href="<%=STYLE_SKINS_URL%>/pisco/pisco.css" />
|
51
|
</head>
|
52
|
<body>
|
53
|
<!--begin the header area-->
|
54
|
<!--
|
55
|
these div's must have closing elements for the css to work. Don't
|
56
|
reduce them to <div id="blah" />
|
57
|
-->
|
58
|
<div id="header">
|
59
|
<!--begin the left logo area-->
|
60
|
<div id="left_logo"></div>
|
61
|
<!--end the left logo area-->
|
62
|
<!--begin the banner area-->
|
63
|
<div id="banner"></div>
|
64
|
<!--end the banner area-->
|
65
|
<!--begin the right logo area-->
|
66
|
<div id="right_logo"></div>
|
67
|
<!--end the right logo area-->
|
68
|
</div>
|
69
|
<!--end the header area-->
|
70
|
|
71
|
<!--begin the left sidebar area-->
|
72
|
<!--
|
73
|
these div's must have closing elements for the css to work. Don't
|
74
|
reduce them to <div id="blah" />
|
75
|
-->
|
76
|
|
77
|
<!--
|
78
|
The following div has purposefully been condensed to one line in order to
|
79
|
deal with an MSIE bug that introduces whitespace incorrectly when
|
80
|
rendering the CSS. Please keep it all on one line in the code. When not
|
81
|
condensed, it would look like:
|
82
|
|
83
|
<div id="left_sidebar">
|
84
|
<img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_data_catalog_white.jpg" alt="data catalog" />
|
85
|
<img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_search_orange.jpg" alt=""/>
|
86
|
<img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_kelp.jpg" alt="" />
|
87
|
</div>
|
88
|
-->
|
89
|
<div id="left_sidebar"><img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_data_catalog_white.jpg" alt="data catalog" /><img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_search_orange.jpg" alt=""/><img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_kelp.jpg" alt="" /></div>
|
90
|
|
91
|
<!--
|
92
|
The lines below may be used in the above div based on which images should
|
93
|
be in the navigation bar.
|
94
|
-->
|
95
|
<!--img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_data_catalog_orange.jpg" alt="" /-->
|
96
|
<!--img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_login_orange.jpg" alt="" /-->
|
97
|
<!--img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_search_white.jpg" -->
|
98
|
<!--img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_insert_white.jpg" alt=""/-->
|
99
|
<!--img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_insert_orange.jpg" alt="" /-->
|
100
|
<!--img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_modify_white.jpg" alt="" /-->
|
101
|
<!--img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_modify_orange.jpg" alt="" /-->
|
102
|
<!--img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_logout_orange.jpg" alt=""/-->
|
103
|
<!--img src="<%=STYLE_SKINS_URL%>/pisco/images/nav_blank_blue.jpg" alt=""/-->
|
104
|
<!--end the left sidebar area-->
|
105
|
|
106
|
<!-- begin content form area -->
|
107
|
|
108
|
<div id="content">
|
109
|
|
110
|
<!-- begin login form area -->
|
111
|
<!--
|
112
|
<div id="loginbox">
|
113
|
<form name="loginForm" method="POST"
|
114
|
action="<%=STYLE_SKINS_URL%>/pisco/index.jsp">
|
115
|
<label class="login"><%=loginStatus%></label>
|
116
|
<% if (!isLoggedIn) {%>
|
117
|
<label class="login" for="username">username</label>
|
118
|
<input class="login" type="text" name="username" value="<%=typedUserName%>" />
|
119
|
<label class="login" for="password">password</label>
|
120
|
<input class="login" type="password" name="password" />
|
121
|
<input type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="submit" />
|
122
|
<% } else { %>
|
123
|
<input type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="submit" />
|
124
|
<% } %>
|
125
|
<input type="hidden" name="action" value="login">
|
126
|
<input type="hidden" name="ldapusername" value="">
|
127
|
<input type="hidden" name="organization" value="PISCO">
|
128
|
<input type="hidden" name="qformat" value="pisco">
|
129
|
<input type="hidden" name="enableediting" value="true">
|
130
|
</form>
|
131
|
</div>
|
132
|
-->
|
133
|
<!-- end login form area -->
|
134
|
|
135
|
<!-- begin search form area -->
|
136
|
<table class="group group_border">
|
137
|
<tr>
|
138
|
<th colspan="2">
|
139
|
Category Search:
|
140
|
</th>
|
141
|
</tr>
|
142
|
<tr>
|
143
|
<td>
|
144
|
<a
|
145
|
href="<%=SERVLET_URL%>?action=squery&qformat=pisco&query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.0%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.1%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.0%3C/returndoctype%3E%3Creturnfield%3Edataset/title%3C/returnfield%3E%3Creturnfield%3EdataTable/entityName%3C/returnfield%3E%3Creturnfield%3Ecreator/individualName/surName%3C/returnfield%3E%3Creturnfield%3Ecreator/organizationName%3C/returnfield%3E%3Creturnfield%3EdataTable/physical/distribution/online/url%3C/returnfield%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3EPISCO:%3C/value%3E%3Cpathexpr%3Etitle%3C/pathexpr%3E%3C/queryterm%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EOceanographic%20Sensor%20Data%3C/value%3E%3Cpathexpr%3EkeywordSet/keyword%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EPISCO%20Categories%3C/value%3E%3Cpathexpr%3EkeywordSet/keywordThesaurus%3C/pathexpr%3E%3C/queryterm%3E%3C/querygroup%3E%3C/querygroup%3E%3C/pathquery%3E">
|
146
|
<!--
|
147
|
<?xml version="1.0"?>
|
148
|
<pathquery version="1.2">
|
149
|
<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>
|
150
|
<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>
|
151
|
<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>
|
152
|
<returnfield>dataset/title</returnfield>
|
153
|
<returnfield>dataTable/entityName</returnfield>
|
154
|
<returnfield>creator/individualName/surName</returnfield>
|
155
|
<returnfield>creator/organizationName</returnfield>
|
156
|
<returnfield>dataTable/physical/distribution/online/url</returnfield>
|
157
|
<querygroup operator="INTERSECT">
|
158
|
<queryterm casesensitive="false" searchmode="starts-with">
|
159
|
<value>PISCO:</value>
|
160
|
<pathexpr>title</pathexpr>
|
161
|
</queryterm>
|
162
|
<querygroup operator="INTERSECT">
|
163
|
<queryterm casesensitive="true" searchmode="equals">
|
164
|
<value>Oceanographic Sensor Data</value>
|
165
|
<pathexpr>keywordSet/keyword</pathexpr>
|
166
|
</queryterm>
|
167
|
<queryterm casesensitive="true" searchmode="equals">
|
168
|
<value>PISCO Categories</value>
|
169
|
<pathexpr>keywordSet/keywordThesaurus</pathexpr>
|
170
|
</queryterm>
|
171
|
</querygroup>
|
172
|
</querygroup>
|
173
|
</pathquery>
|
174
|
-->
|
175
|
Oceanographic Sensor Data
|
176
|
</a>
|
177
|
<br />
|
178
|
|
179
|
<a
|
180
|
href="<%=SERVLET_URL%>?action=squery&qformat=pisco&query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.0%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.1%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.0%3C/returndoctype%3E%3Creturnfield%3Edataset/title%3C/returnfield%3E%3Creturnfield%3EdataTable/entityName%3C/returnfield%3E%3Creturnfield%3Ecreator/individualName/surName%3C/returnfield%3E%3Creturnfield%3Ecreator/organizationName%3C/returnfield%3E%3Creturnfield%3EdataTable/physical/distribution/online/url%3C/returnfield%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3EPISCO:%3C/value%3E%3Cpathexpr%3Etitle%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3Episco%3C/value%3E%3Cpathexpr%3E/eml/@packageId%3C/pathexpr%3E%3C/queryterm%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EIntertidal%20Community%20Survey%20Data%3C/value%3E%3Cpathexpr%3EkeywordSet/keyword%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EPISCO%20Categories%3C/value%3E%3Cpathexpr%3EkeywordSet/keywordThesaurus%3C/pathexpr%3E%3C/queryterm%3E%3C/querygroup%3E%3C/querygroup%3E%3C/pathquery%3E">
|
181
|
Intertidal Community Survey Data
|
182
|
</a>
|
183
|
<br />
|
184
|
<a
|
185
|
href="<%=SERVLET_URL%>?action=squery&qformat=pisco&query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.0%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.1%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.0%3C/returndoctype%3E%3Creturnfield%3Edataset/title%3C/returnfield%3E%3Creturnfield%3EdataTable/entityName%3C/returnfield%3E%3Creturnfield%3Ecreator/individualName/surName%3C/returnfield%3E%3Creturnfield%3Ecreator/organizationName%3C/returnfield%3E%3Creturnfield%3EdataTable/physical/distribution/online/url%3C/returnfield%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3EPISCO:%3C/value%3E%3Cpathexpr%3Etitle%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3Episco%3C/value%3E%3Cpathexpr%3E/eml/@packageId%3C/pathexpr%3E%3C/queryterm%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3ESubtidal%20Community%20Survey%20Data%3C/value%3E%3Cpathexpr%3EkeywordSet/keyword%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EPISCO%20Categories%3C/value%3E%3Cpathexpr%3EkeywordSet/keywordThesaurus%3C/pathexpr%3E%3C/queryterm%3E%3C/querygroup%3E%3C/querygroup%3E%3C/pathquery%3E">
|
186
|
Subtidal Community Survey Data
|
187
|
</a>
|
188
|
<br />
|
189
|
</td>
|
190
|
<td>
|
191
|
<a
|
192
|
href="<%=SERVLET_URL%>?action=squery&qformat=pisco&query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.0%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.1%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.0%3C/returndoctype%3E%3Creturnfield%3Edataset/title%3C/returnfield%3E%3Creturnfield%3EdataTable/entityName%3C/returnfield%3E%3Creturnfield%3Ecreator/individualName/surName%3C/returnfield%3E%3Creturnfield%3Ecreator/organizationName%3C/returnfield%3E%3Creturnfield%3EdataTable/physical/distribution/online/url%3C/returnfield%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3EPISCO:%3C/value%3E%3Cpathexpr%3Etitle%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3Episco%3C/value%3E%3Cpathexpr%3E/eml/@packageId%3C/pathexpr%3E%3C/queryterm%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EMicrochemistry%20Data%3C/value%3E%3Cpathexpr%3EkeywordSet/keyword%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EPISCO%20Categories%3C/value%3E%3Cpathexpr%3EkeywordSet/keywordThesaurus%3C/pathexpr%3E%3C/queryterm%3E%3C/querygroup%3E%3C/querygroup%3E%3C/pathquery%3E">
|
193
|
Microchemistry Data
|
194
|
</a>
|
195
|
<br />
|
196
|
<a
|
197
|
href="<%=SERVLET_URL%>?action=squery&qformat=pisco&query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.0%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.1%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.0%3C/returndoctype%3E%3Creturnfield%3Edataset/title%3C/returnfield%3E%3Creturnfield%3EdataTable/entityName%3C/returnfield%3E%3Creturnfield%3Ecreator/individualName/surName%3C/returnfield%3E%3Creturnfield%3Ecreator/organizationName%3C/returnfield%3E%3Creturnfield%3EdataTable/physical/distribution/online/url%3C/returnfield%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3EPISCO:%3C/value%3E%3Cpathexpr%3Etitle%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3Episco%3C/value%3E%3Cpathexpr%3E/eml/@packageId%3C/pathexpr%3E%3C/queryterm%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EIntertidal%20Recruitment%20Data%3C/value%3E%3Cpathexpr%3EkeywordSet/keyword%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EPISCO%20Categories%3C/value%3E%3Cpathexpr%3EkeywordSet/keywordThesaurus%3C/pathexpr%3E%3C/queryterm%3E%3C/querygroup%3E%3C/querygroup%3E%3C/pathquery%3E">
|
198
|
Intertidal Recruitment Data
|
199
|
</a>
|
200
|
<br />
|
201
|
<a
|
202
|
href="<%=SERVLET_URL%>?action=squery&qformat=pisco&query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.0%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.1%3C/returndoctype%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.0.0%3C/returndoctype%3E%3Creturnfield%3Edataset/title%3C/returnfield%3E%3Creturnfield%3EdataTable/entityName%3C/returnfield%3E%3Creturnfield%3Ecreator/individualName/surName%3C/returnfield%3E%3Creturnfield%3Ecreator/organizationName%3C/returnfield%3E%3Creturnfield%3EdataTable/physical/distribution/online/url%3C/returnfield%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3EPISCO:%3C/value%3E%3Cpathexpr%3Etitle%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22false%22%20searchmode=%22starts-with%22%3E%3Cvalue%3Episco%3C/value%3E%3Cpathexpr%3E/eml/@packageId%3C/pathexpr%3E%3C/queryterm%3E%3Cquerygroup%20operator=%22INTERSECT%22%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3ESubtidal%20Recruitment%20Data%3C/value%3E%3Cpathexpr%3EkeywordSet/keyword%3C/pathexpr%3E%3C/queryterm%3E%3Cqueryterm%20casesensitive=%22true%22%20searchmode=%22equals%22%3E%3Cvalue%3EPISCO%20Categories%3C/value%3E%3Cpathexpr%3EkeywordSet/keywordThesaurus%3C/pathexpr%3E%3C/queryterm%3E%3C/querygroup%3E%3C/querygroup%3E%3C/pathquery%3E">
|
203
|
Subtidal Recruitment Data
|
204
|
</a>
|
205
|
</td>
|
206
|
</tr>
|
207
|
</table>
|
208
|
<!-- end search form area -->
|
209
|
</div>
|
210
|
<!-- end content form area -->
|
211
|
</body>
|
212
|
</html>
|