Revision 88
Added by Matt Jones over 24 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
202 | 202 |
Enumeration rootlist = nodelist.keys(); |
203 | 203 |
while (rootlist.hasMoreElements()) { |
204 | 204 |
nodeid = ((Long)rootlist.nextElement()).longValue(); |
205 |
resultset.append(" <nodeid>" + nodeid + "</nodeid>");
|
|
205 |
resultset.append(" <docid>" + nodeid + "</docid>");
|
|
206 | 206 |
} |
207 | 207 |
resultset.append("</resultset>"); |
208 | 208 |
|
MetaCatServlet.java | ||
---|---|---|
202 | 202 |
Enumeration rootlist = nodelist.keys(); |
203 | 203 |
while (rootlist.hasMoreElements()) { |
204 | 204 |
nodeid = ((Long)rootlist.nextElement()).longValue(); |
205 |
resultset.append(" <nodeid>" + nodeid + "</nodeid>");
|
|
205 |
resultset.append(" <docid>" + nodeid + "</docid>");
|
|
206 | 206 |
} |
207 | 207 |
resultset.append("</resultset>"); |
208 | 208 |
|
lib/contents.html | ||
---|---|---|
22 | 22 |
Simple database query against MetaCat<br> |
23 | 23 |
<form action="/servlets/MetaCatServlet" target="right" method="POST"> |
24 | 24 |
<input type="hidden" name="action" value="query"> |
25 |
<input type="text" name="query" value="Value1" size="15">
|
|
25 |
<input type="text" name="query" value="NCEAS%" size="15">
|
|
26 | 26 |
<input type="submit" value="Run query"> |
27 | 27 |
<br /> |
28 | 28 |
Format: |
contents.html | ||
---|---|---|
22 | 22 |
Simple database query against MetaCat<br> |
23 | 23 |
<form action="/servlets/MetaCatServlet" target="right" method="POST"> |
24 | 24 |
<input type="hidden" name="action" value="query"> |
25 |
<input type="text" name="query" value="Value1" size="15">
|
|
25 |
<input type="text" name="query" value="NCEAS%" size="15">
|
|
26 | 26 |
<input type="submit" value="Run query"> |
27 | 27 |
<br /> |
28 | 28 |
Format: |
Also available in: Unified diff
xsl stylesheet fix for resultset format