Project

General

Profile

1 3089 cjones
<%@ 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$'
10
  *     '$Date$'
11
  * '$Revision$'
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 3780 daigle
    <link rel="stylesheet" type="text/css"
50
          href="<%=STYLE_SKINS_URL%>/pisco/pisco.css" />
51 3089 cjones
  </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 &lt;div id="blah" /&gt;
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 &lt;div id="blah" /&gt;
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 3780 daigle
      <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 3089 cjones
    </div>
88
    -->
89 3780 daigle
    <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 3089 cjones
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 3780 daigle
    <!--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 3089 cjones
    <!--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 3780 daigle
          action="<%=STYLE_SKINS_URL%>/pisco/index.jsp">
115 3089 cjones
          <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 3780 daigle
          <input type="hidden" name="qformat" value="pisco">
129 3089 cjones
          <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 5710 leinfelder
            href="<%=SERVLET_URL%>?action=squery&amp;qformat=pisco&amp;query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.1%3C/returndoctype%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 3089 cjones
           <!--
147
           <?xml version="1.0"?>
148
             <pathquery version="1.2">
149 5710 leinfelder
             <returndoctype>eml://ecoinformatics.org/eml-2.1.1</returndoctype>
150 4505 daigle
             <returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>
151 3089 cjones
               <returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>
152
               <returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>
153
               <returnfield>dataset/title</returnfield>
154
               <returnfield>dataTable/entityName</returnfield>
155
               <returnfield>creator/individualName/surName</returnfield>
156
               <returnfield>creator/organizationName</returnfield>
157
               <returnfield>dataTable/physical/distribution/online/url</returnfield>
158
               <querygroup operator="INTERSECT">
159
                 <queryterm casesensitive="false" searchmode="starts-with">
160
                   <value>PISCO:</value>
161
                   <pathexpr>title</pathexpr>
162
                 </queryterm>
163
                 <querygroup operator="INTERSECT">
164
                   <queryterm casesensitive="true" searchmode="equals">
165
                     <value>Oceanographic Sensor Data</value>
166
                     <pathexpr>keywordSet/keyword</pathexpr>
167
                   </queryterm>
168
                   <queryterm casesensitive="true" searchmode="equals">
169
                     <value>PISCO Categories</value>
170
                     <pathexpr>keywordSet/keywordThesaurus</pathexpr>
171
                   </queryterm>
172
                 </querygroup>
173
               </querygroup>
174
             </pathquery>
175
             -->
176
                 Oceanographic Sensor Data
177
                 </a>
178
                 <br />
179
180
            <a
181 5710 leinfelder
            href="<%=SERVLET_URL%>?action=squery&amp;qformat=pisco&amp;query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.1%3C/returndoctype%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">
182 3089 cjones
             Intertidal Community Survey Data
183
             </a>
184
             <br />
185
            <a
186 5710 leinfelder
            href="<%=SERVLET_URL%>?action=squery&amp;qformat=pisco&amp;query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.1%3C/returndoctype%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">
187 3089 cjones
             Subtidal Community Survey Data
188
             </a>
189
            <br />
190
               </td>
191
              <td>
192
                <a
193 5710 leinfelder
                href="<%=SERVLET_URL%>?action=squery&amp;qformat=pisco&amp;query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.1%3C/returndoctype%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">
194 3089 cjones
            Microchemistry Data
195
            </a>
196
            <br />
197
            <a
198 5710 leinfelder
            href="<%=SERVLET_URL%>?action=squery&amp;qformat=pisco&amp;query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.1%3C/returndoctype%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">
199 3089 cjones
        Intertidal Recruitment Data
200
        </a>
201
        <br />
202
            <a
203 5710 leinfelder
            href="<%=SERVLET_URL%>?action=squery&amp;qformat=pisco&amp;query=%3C?xml%20version=%221.0%22?%3E%3Cpathquery%20version=%221.2%22%3E%3Creturndoctype%3Eeml://ecoinformatics.org/eml-2.1.1%3C/returndoctype%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">
204 3089 cjones
        Subtidal Recruitment Data
205
        </a>
206
          </td>
207
        </tr>
208
     </table>
209
    <!-- end search form area -->
210
    </div>
211
    <!-- end content form area -->
212
  </body>
213
</html>