Project

General

Profile

« Previous | Next » 

Revision 892

Added by berkley almost 23 years ago

fixed a couple bugs with doctypes that I found while setting up a demo

View differences:

lib/style/resultset.xsl
106 106
             <input type="hidden" name="returndoctype"
107 107
              value="-//NCEAS//eml-dataset//EN" />
108 108
              <input type="hidden" name="returndoctype"
109
              value="-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN" />
109
              value="-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN" />
110 110
           </form>
111 111
          </td>
112 112
        </tr>  
lib/knb.xml
1 1
<?xml version="1.0"?>
2 2
<style-set name="knb">
3
  <default-style>@server@@style-path@/ascii-treeview.xsl</default-style>
3
  <default-style>http://@server@@style-path@/ascii-treeview.xsl</default-style>
4 4
  <doctype publicid="-//NCEAS//resultset//EN">
5 5
    <target publicid="-//W3C//HTML//EN">http://@server@@style-path@/resultset.xsl</target>
6 6
  </doctype>
lib/index.html
28 28
<html>
29 29
<head>
30 30
<title>KNB Data Search</title>
31
<meta HTTP-EQUIV="refresh" CONTENT="1;URL=@servlet-path@?action=query&operator=INTERSECT&anyfield=%25&qformat=knb&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&returnfield=title&returnfield=keyword&returnfield=originator/individualName/surName&returnfield=originator/organizationName" />
31
<meta HTTP-EQUIV="refresh" CONTENT="1;URL=@servlet-path@?action=query&operator=INTERSECT&anyfield=%25&qformat=knb&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&returnfield=title&returnfield=keyword&returnfield=originator/individualName/surName&returnfield=originator/organizationName" />
32 32
</head>
33 33
<body bgcolor="WHITE">
34 34
</body>

Also available in: Unified diff