1
|
<html>
|
2
|
<head></head>
|
3
|
<script language="JavaScript">
|
4
|
function search(){
|
5
|
var searchForm = document.getElementById("search-form");
|
6
|
var queryInput = document.createElement("input");
|
7
|
queryInput.setAttribute("type", "hidden");
|
8
|
queryInput.setAttribute("name", "query");
|
9
|
queryInput.setAttribute("value", "<pathquery version=\"1.2\"><querytitle>Moderator-Search</querytitle><returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype><returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype><returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype><returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype><returndoctype>-//NCEAS//resource//EN</returndoctype><returndoctype>-//NCEAS//eml-dataset//EN</returndoctype><returnfield>originator/individualName/surName</returnfield><returnfield>originator/individualName/givenName</returnfield><returnfield>creator/individualName/surName</returnfield><returnfield>creator/individualName/givenName</returnfield><returnfield>originator/organizationName</returnfield><returnfield>creator/organizationName</returnfield><returnfield>dataset/title</returnfield><returnfield>keyword</returnfield><querygroup operator=\"INTERSECT\"><queryterm searchmode=\"not-contains\" casesensitive=\"false\"><value>public</value><pathexpr>dataset/access/allow/principal</pathexpr></queryterm><queryterm searchmode=\"not-contains\" casesensitive=\"false\"><value>Revision Requested</value><pathexpr>additionalMetadata/moderatorComment</pathexpr></queryterm></querygroup></pathquery>");
|
10
|
searchForm.appendChild(queryInput);
|
11
|
searchForm.submit();
|
12
|
}
|
13
|
</script>
|
14
|
|
15
|
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="timerID=setTimeout('search()',20)">
|
16
|
<form id="search-form" action="@servlet-path@" method="post">
|
17
|
<input type="hidden" name="action" value="squery"/>
|
18
|
<input type="hidden" name="qformat" value="esa"/>
|
19
|
<input type="hidden" name="enableediting" value="true"/>
|
20
|
<input type="hidden" name="message" value="[%message%]"/>
|
21
|
</form>
|
22
|
|
23
|
</body>
|