Index: lib/browse.xml
===================================================================
--- lib/browse.xml	(nonexistent)
+++ lib/browse.xml	(revision 1835)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<style-set name="browse">
+<!-- general login & search -->
+  <default-style>@systemidserver@@style-path@/ascii-treeview.xsl</default-style>
+  <doctype publicid="-//NCEAS//resultset//EN">
+    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-path@/keywords-list.xsl</target>
+  </doctype>
+</style-set>

Property changes on: lib/browse.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
Index: lib/style/keywords-list.xsl
===================================================================
--- lib/style/keywords-list.xsl	(nonexistent)
+++ lib/style/keywords-list.xsl	(revision 1835)
@@ -0,0 +1,147 @@
+<?xml version="1.0"?>
+<!--
+  *  '$RCSfile$'
+  *      Authors: Matt Jones, CHad Berkley
+  *    Copyright: 2000 Regents of the University of California and the
+  *               National Center for Ecological Analysis and Synthesis
+  *  For Details: http://www.nceas.ucsb.edu/
+  *
+  *   '$Author$'
+  *     '$Date$'
+  * '$Revision$'
+  * 
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License as published by
+  * the Free Software Foundation; either version 2 of the License, or
+  * (at your option) any later version.
+  *
+  * This program is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  * GNU General Public License for more details.
+  *
+  * You should have received a copy of the GNU General Public License
+  * along with this program; if not, write to the Free Software
+  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+  *
+  * This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
+  * convert an XML file showing the resultset of a query
+  * into an HTML format suitable for rendering with modern web browsers.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+  <xsl:output method="html"/>
+  <xsl:template match="/">
+    <html>
+      <head>
+        <link rel="stylesheet" type="text/css" 
+              href="@style-path@/default.css" />
+        <script language="JavaScript">
+          <![CDATA[
+          function submitform(action,form_ref) {
+              form_ref.action.value=action;
+              form_ref.abstractpath.value="";
+              form_ref.qformat.value="knb";
+              form_ref.submit();
+          }
+          function submitform1(action, abstractpath, form_ref) {
+              form_ref.action.value=action;
+              form_ref.abstractpath.value=abstractpath;
+              form_ref.qformat.value="";
+              form_ref.submit();
+          }
+          function submitform2(action, qformat, form_ref) {
+              form_ref.action.value=action;
+              form_ref.qformat.value=qformat;
+              form_ref.abstractpath.value="";
+              form_ref.submit();
+          }
+          ]]>
+        </script>
+      </head>
+
+      <body>
+        <table width="100%">
+          <tr>
+            <td rowspan="2"><img src="@web-base-url@/images/KNBLogo.gif"/></td>
+            <td colspan="7"><div class="title">Biocomplexity Data Search</div>
+            </td>
+          </tr>
+          <tr>
+            <td><a href="@web-base-url@" class="toollink"> KNB </a></td>
+            <td><a href="@web-base-url@/data.html" class="toollink"> 
+                Data </a></td>
+            <td><a href="@web-base-url@/people.html" class="toollink"> 
+                People </a></td>
+            <td><a href="@web-base-url@/informatics" class="toollink"> 
+                Informatics </a></td>
+            <td><a href="@web-base-url@/biodiversity" class="toollink"> 
+                Biodiversity </a></td>
+            <td><a href="@web-base-url@/education" class="toollink"> 
+                Education </a></td>
+            <td><a href="@web-base-url@/software" class="toollink"> 
+                Software </a></td>
+         </tr>
+         <tr>
+          <td align="right" valign="top" colspan="7">
+            <form action="@html-path@/servlet/metacat" method="POST">
+             Data Search: <input type="text" name="anyfield" size="10" />
+             <input type="hidden" name="action" value="query" />   
+             <input type="hidden" name="qformat" value="knb" />
+             <input type="hidden" name="operator" value="UNION" />
+             
+             <input type="hidden" name="returnfield"
+              value="creator/individualName/surName" />
+             <input type="hidden" name="returnfield"
+              value="creator/organizationName" />
+             <input type="hidden" name="returnfield" 
+              value="originator/individualName/surName" />
+             <input type="hidden" name="returnfield" 
+              value="originator/individualName/givenName" />
+             <input type="hidden" name="returnfield" 
+              value="originator/organizationName" />
+             <input type="hidden" name="returnfield" 
+              value="dataset/title" />
+             <input type="hidden" name="returnfield" 
+              value="keyword" />
+             <input type="hidden" name="returndoctype"
+              value="eml://ecoinformatics.org/eml-2.0.0" />
+             <input type="hidden" name="returndoctype"
+              value="-//NCEAS//eml-dataset-2.0//EN" />
+             <input type="hidden" name="returndoctype"
+              value="-//NCEAS//resource//EN" />
+             <input type="hidden" name="returndoctype"
+              value="-//NCEAS//eml-dataset//EN" />
+              <input type="hidden" name="returndoctype"
+              value="-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN" />
+              <input type="hidden" name="returndoctype"
+              value="-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN" />
+           </form>
+          </td>
+        </tr>  
+       </table>
+        
+       <p><xsl:number value="count(resultset/document)" /> documents found.</p>
+       <!-- This tests to see if there are returned documents,
+            if there are not then don't show the query results -->
+       <xsl:if test="count(resultset/document) &gt; 0">
+           <p>Browse data sets by keyword:</p> 
+           <ul>
+               <xsl:apply-templates select="//param[@name='keyword' and not(. = preceding::param) and not(normalize-space(.) = '')]">
+                   <xsl:sort select="."/>
+               </xsl:apply-templates>
+           </ul>
+       </xsl:if>
+      </body>
+    </html>
+  </xsl:template>
+
+  <xsl:template match="param">
+     <li>
+     <a>
+       <xsl:attribute name="href">@servlet-path@?action=query&amp;operator=INTERSECT&amp;qformat=knb&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returnfield=dataset/title&amp;returnfield=citation/title&amp;returnfield=software/title&amp;returnfield=protocol/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;keyword=<xsl:value-of select="."/></xsl:attribute>
+     <xsl:value-of select="."/>
+     </a> (<xsl:value-of select="count(//param[.=current()])"/>)
+     </li>
+  </xsl:template>
+
+</xsl:stylesheet>

Property changes on: lib/style/keywords-list.xsl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property
