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
    <link rel="stylesheet" type="text/css"
50
          href="@style-skins-path@/@default-style@/@default-style@.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 &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
      <img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_data_catalog_white.jpg" alt="data catalog" />
85
      <img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_search_orange.jpg" alt=""/>
86
      <img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_kelp.jpg" alt="" />
87
    </div>
88
    -->
89
    <div id="left_sidebar"><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_data_catalog_white.jpg" alt="data catalog" /><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_search_orange.jpg" alt=""/><img src="@systemidserver@@style-skins-path@/@default-style@/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="@systemidserver@@style-skins-path@/@default-style@/images/nav_data_catalog_orange.jpg" alt="" /-->
96
    <!--img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_login_orange.jpg" alt="" /-->
97
    <!--img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_search_white.jpg" -->
98
    <!--img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_insert_white.jpg" alt=""/-->
99
    <!--img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_insert_orange.jpg" alt="" /-->
100
    <!--img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_modify_white.jpg" alt="" /-->
101
    <!--img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_modify_orange.jpg" alt="" /-->
102
    <!--img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_logout_orange.jpg" alt=""/-->
103
    <!--img src="@systemidserver@@style-skins-path@/@default-style@/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="@systemidserver@@style-skins-path@/@default-style@/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="@default-style@">
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="@systemidserver@@servlet-path@?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.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.0.1</returndoctype>
150
               <returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>
151
               <returnfield>dataset/title</returnfield>
152
               <returnfield>dataTable/entityName</returnfield>
153
               <returnfield>creator/individualName/surName</returnfield>
154
               <returnfield>creator/organizationName</returnfield>
155
               <returnfield>dataTable/physical/distribution/online/url</returnfield>
156
               <querygroup operator="INTERSECT">
157
                 <queryterm casesensitive="false" searchmode="starts-with">
158
                   <value>PISCO:</value>
159
                   <pathexpr>title</pathexpr>
160
                 </queryterm>
161
                 <querygroup operator="INTERSECT">
162
                   <queryterm casesensitive="true" searchmode="equals">
163
                     <value>Oceanographic Sensor Data</value>
164
                     <pathexpr>keywordSet/keyword</pathexpr>
165
                   </queryterm>
166
                   <queryterm casesensitive="true" searchmode="equals">
167
                     <value>PISCO Categories</value>
168
                     <pathexpr>keywordSet/keywordThesaurus</pathexpr>
169
                   </queryterm>
170
                 </querygroup>
171
               </querygroup>
172
             </pathquery>
173
             -->
174
                 Oceanographic Sensor Data
175
                 </a>
176
                 <br />
177
178
            <a
179
            href="@systemidserver@@servlet-path@?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.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">
180
             Intertidal Community Survey Data
181
             </a>
182
             <br />
183
            <a
184
            href="@systemidserver@@servlet-path@?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.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">
185
             Subtidal Community Survey Data
186
             </a>
187
            <br />
188
               </td>
189
              <td>
190
                <a
191
                href="@systemidserver@@servlet-path@?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.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">
192
            Microchemistry Data
193
            </a>
194
            <br />
195
            <a
196
            href="@systemidserver@@servlet-path@?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.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">
197
        Intertidal Recruitment Data
198
        </a>
199
        <br />
200
            <a
201
            href="@systemidserver@@servlet-path@?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.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">
202
        Subtidal Recruitment Data
203
        </a>
204
          </td>
205
        </tr>
206
     </table>
207
    <!-- end search form area -->
208
    </div>
209
    <!-- end content form area -->
210
  </body>
211
</html>