42 |
42 |
</tr>
|
43 |
43 |
<tr>
|
44 |
44 |
<td colspan="2" align="center">
|
45 |
|
<span class="greenbold">FGDC Identification Information</span>
|
|
45 |
<h2>FGDC Identification Information</h2>
|
46 |
46 |
</td>
|
47 |
47 |
</tr>
|
48 |
48 |
<xsl:apply-templates select="citation"/>
|
... | ... | |
58 |
58 |
|
59 |
59 |
<xsl:template match="citeinfo">
|
60 |
60 |
<tr>
|
61 |
|
<td colspan="2">
|
|
61 |
<th colspan="2">
|
62 |
62 |
<span class="greenbold">Citation Information </span>
|
63 |
|
</td>
|
|
63 |
</th>
|
64 |
64 |
</tr>
|
65 |
65 |
|
66 |
66 |
<tr>
|
... | ... | |
88 |
88 |
|
89 |
89 |
<xsl:template match="descript">
|
90 |
90 |
<tr>
|
91 |
|
<td colspan="2">
|
|
91 |
<th colspan="2">
|
92 |
92 |
<span class="greenbold">Description</span>
|
93 |
|
</td>
|
|
93 |
</th>
|
94 |
94 |
</tr>
|
95 |
95 |
<tr>
|
96 |
96 |
<xsl:apply-templates select="abstract"/>
|
... | ... | |
116 |
116 |
</xsl:template>
|
117 |
117 |
|
118 |
118 |
<xsl:template match="theme">
|
119 |
|
<td valign="top">Theme Keywords</td>
|
120 |
|
<td>
|
|
119 |
<td class="highlight" valign="top">Theme Keywords</td>
|
|
120 |
<td class="secondCol">
|
121 |
121 |
<xsl:apply-templates select="themekey[position()!=last()]">
|
122 |
122 |
<xsl:with-param name="lastPlace">f</xsl:with-param>
|
123 |
123 |
</xsl:apply-templates>
|
... | ... | |
128 |
128 |
</xsl:template>
|
129 |
129 |
|
130 |
130 |
<xsl:template match="place">
|
131 |
|
<td valign="top">Place Keywords</td>
|
132 |
|
<td>
|
|
131 |
<td class="highlight" valign="top">Place Keywords</td>
|
|
132 |
<td class="secondCol">
|
133 |
133 |
<xsl:apply-templates select="placekey[position()!=last()]">
|
134 |
134 |
<xsl:with-param name="lastPlace">f</xsl:with-param>
|
135 |
135 |
</xsl:apply-templates>
|
... | ... | |
152 |
152 |
</xsl:template>
|
153 |
153 |
|
154 |
154 |
<xsl:template match="bounding">
|
155 |
|
<td valign="top">Bounding Coordinates</td>
|
156 |
|
<td>
|
|
155 |
<td class="highlight" valign="top">Bounding Coordinates</td>
|
|
156 |
<td class="secondCol">
|
157 |
157 |
<table>
|
158 |
158 |
<tr>
|
159 |
|
<td align="right">West</td>
|
160 |
|
<td>
|
|
159 |
<td class="highlight" align="right">West</td>
|
|
160 |
<td class="secondCol">
|
161 |
161 |
<xsl:value-of select="westbc"/>
|
162 |
162 |
</td>
|
163 |
|
<td align="right">East</td>
|
164 |
|
<td>
|
|
163 |
<td class="highlight" align="right">East</td>
|
|
164 |
<td class="secondCol">
|
165 |
165 |
<xsl:value-of select="eastbc"/>
|
166 |
166 |
</td>
|
167 |
167 |
</tr>
|
168 |
168 |
<tr>
|
169 |
|
<td align="right">North</td>
|
170 |
|
<td>
|
|
169 |
<td class="highlight" align="right">North</td>
|
|
170 |
<td class="secondCol">
|
171 |
171 |
<xsl:value-of select="northbc"/>
|
172 |
172 |
</td>
|
173 |
|
<td align="right">South</td>
|
174 |
|
<td>
|
|
173 |
<td class="highlight" align="right">South</td>
|
|
174 |
<td class="secondCol">
|
175 |
175 |
<xsl:value-of select="southbc"/>
|
176 |
176 |
</td>
|
177 |
177 |
</tr>
|
... | ... | |
180 |
180 |
</xsl:template>
|
181 |
181 |
|
182 |
182 |
<xsl:template match="abstract">
|
183 |
|
<td valign="top">Abstract</td>
|
184 |
|
<td>
|
|
183 |
<td class="highlight" valign="top">Abstract</td>
|
|
184 |
<td class="secondCol">
|
185 |
185 |
<xsl:value-of select="."/>
|
186 |
186 |
</td>
|
187 |
187 |
</xsl:template>
|
188 |
188 |
|
189 |
189 |
<xsl:template match="purpose">
|
190 |
|
<td valign="top">Purpose</td>
|
191 |
|
<td>
|
|
190 |
<td class="highlight" valign="top">Purpose</td>
|
|
191 |
<td class="secondCol">
|
192 |
192 |
<xsl:value-of select="."/>
|
193 |
193 |
</td>
|
194 |
194 |
</xsl:template>
|
195 |
195 |
|
196 |
196 |
<xsl:template match="title">
|
197 |
|
<td>Title</td>
|
198 |
|
<td>
|
|
197 |
<td class="highlight">Title</td>
|
|
198 |
<td class="secondCol">
|
199 |
199 |
<xsl:value-of select="."/>
|
200 |
200 |
</td>
|
201 |
201 |
</xsl:template>
|
202 |
202 |
|
203 |
203 |
<xsl:template match="origin">
|
204 |
|
<td>Originator </td>
|
205 |
|
<td>
|
|
204 |
<td class="highlight">Originator </td>
|
|
205 |
<td class="secondCol">
|
206 |
206 |
<xsl:value-of select="."/>
|
207 |
207 |
</td>
|
208 |
208 |
</xsl:template>
|
209 |
209 |
|
210 |
210 |
<xsl:template match="pubdate">
|
211 |
|
<td>Publication Date</td>
|
212 |
|
<td>
|
|
211 |
<td class="highlight">Publication Date</td>
|
|
212 |
<td class="secondCol">
|
213 |
213 |
<xsl:call-template name="long_date">
|
214 |
214 |
<xsl:with-param name="date">
|
215 |
215 |
<xsl:value-of select="."/>
|
... | ... | |
219 |
219 |
</xsl:template>
|
220 |
220 |
|
221 |
221 |
<xsl:template match="edition">
|
222 |
|
<td>Edition</td>
|
223 |
|
<td>
|
|
222 |
<td class="highlight">Edition</td>
|
|
223 |
<td class="secondCol">
|
224 |
224 |
<xsl:value-of select="."/>
|
225 |
225 |
</td>
|
226 |
226 |
</xsl:template>
|
227 |
227 |
|
228 |
228 |
<xsl:template match="geoform">
|
229 |
|
<td valign="top">Geospatial Data Presentation Form</td>
|
230 |
|
<td>
|
|
229 |
<td class="highlight" valign="top">Geospatial Data Presentation Form</td>
|
|
230 |
<td class="secondCol">
|
231 |
231 |
<xsl:value-of select="."/>
|
232 |
232 |
</td>
|
233 |
233 |
</xsl:template>
|
234 |
234 |
|
235 |
235 |
<xsl:template match="othercit">
|
236 |
|
<td valign="top">Other Citation Details</td>
|
237 |
|
<td>
|
|
236 |
<td class="highlight" valign="top">Other Citation Details</td>
|
|
237 |
<td class="secondCol">
|
238 |
238 |
<xsl:value-of select="."/>
|
239 |
239 |
</td>
|
240 |
240 |
</xsl:template>
|
241 |
241 |
|
242 |
242 |
<xsl:template match="pubinfo">
|
243 |
|
<td valign="top"> Publication Information </td>
|
244 |
|
<td>
|
|
243 |
<td class="highlight" valign="top">Publication Information </td>
|
|
244 |
<td class="secondCol">
|
245 |
245 |
<table>
|
246 |
246 |
<tr>
|
247 |
247 |
<xsl:apply-templates select="pubplace"/>
|
... | ... | |
254 |
254 |
</xsl:template>
|
255 |
255 |
|
256 |
256 |
<xsl:template match="pubplace">
|
257 |
|
<td>Publication Place</td>
|
258 |
|
<td>
|
|
257 |
<td class="highlight">Publication Place</td>
|
|
258 |
<td class="secondCol">
|
259 |
259 |
<xsl:value-of select="."/>
|
260 |
260 |
</td>
|
261 |
261 |
</xsl:template>
|
262 |
262 |
|
263 |
263 |
<xsl:template match="publish">
|
264 |
|
<td>Publisher</td>
|
265 |
|
<td>
|
|
264 |
<td class="highlight">Publisher</td>
|
|
265 |
<td class="secondCol">
|
266 |
266 |
<xsl:value-of select="."/>
|
267 |
267 |
</td>
|
268 |
268 |
</xsl:template>
|
... | ... | |
270 |
270 |
<xsl:template match="distinfo">
|
271 |
271 |
<table width="100%" border="0" cellspacing="10">
|
272 |
272 |
<tr>
|
273 |
|
<td colspan="3" align="center">
|
|
273 |
<th colspan="5" align="center">
|
274 |
274 |
<span class="greenbold">Metacat Data Package Information</span>
|
275 |
|
</td>
|
|
275 |
</th>
|
276 |
276 |
</tr>
|
277 |
277 |
<tr>
|
278 |
278 |
<td>
|
... | ... | |
281 |
281 |
<td>
|
282 |
282 |
<span class="greenbold">File name (Doc Id)</span>
|
283 |
283 |
</td>
|
|
284 |
<td></td>
|
284 |
285 |
<xsl:if test="not($sessionid = 'null')">
|
285 |
|
<td align="center" colspan="3">
|
286 |
|
<span class="greenbold">Update with...</span>
|
|
286 |
<td align="left" colspan="2">
|
|
287 |
<span class="greenbold">Actions...</span>
|
287 |
288 |
</td>
|
288 |
289 |
</xsl:if>
|
289 |
290 |
</tr>
|
... | ... | |
295 |
296 |
</xsl:template>
|
296 |
297 |
|
297 |
298 |
<xsl:template match="resdesc">
|
298 |
|
<td align="left">Metadata</td>
|
299 |
|
<td align="left">
|
300 |
|
<xsl:value-of select="../custom"/> (<xsl:value-of select="."/>)</td>
|
301 |
|
<td>
|
|
299 |
<td class="highlight" align="left" valign="top">Metadata</td>
|
|
300 |
<td class="secondCol" align="left" valign="top">
|
|
301 |
<xsl:value-of select="../custom"/> (<xsl:value-of select="."/>)
|
|
302 |
|
|
303 |
<!-- update -->
|
|
304 |
<xsl:if test="not($sessionid = 'null')">
|
|
305 |
<br/>
|
|
306 |
<br/>
|
|
307 |
<form method="post" action="./style/common/ClientViewHelper.jspx"
|
|
308 |
enctype="multipart/form-data">
|
|
309 |
<input name="action" value="Update Metadata" type="hidden"/>
|
|
310 |
<input name="docid" type="hidden" value="{.}"/>
|
|
311 |
<input name="qformat" type="hidden" value="{$qformat}"/>
|
|
312 |
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
|
313 |
<input name="updateFile" type="file"/>
|
|
314 |
<input name="submit" value="Update" type="submit"/>
|
|
315 |
</form>
|
|
316 |
</xsl:if>
|
|
317 |
|
|
318 |
</td>
|
|
319 |
<!-- download -->
|
|
320 |
<td class="secondCol" valign="bottom">
|
302 |
321 |
<form method="get" action="./style/common/ClientViewHelper.jspx">
|
303 |
322 |
<input name="action" value="Download" type="submit"/>
|
304 |
323 |
<input name="docid" type="hidden" value="{.}"/>
|
305 |
324 |
<input name="qformat" type="hidden" value="{$qformat}"/>
|
306 |
325 |
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
307 |
326 |
</form>
|
308 |
|
<xsl:if test="not($sessionid = 'null')">
|
309 |
|
<form method="get" action="./style/common/ClientViewHelper.jspx"
|
|
327 |
</td>
|
|
328 |
|
|
329 |
<xsl:if test="not($sessionid = 'null')">
|
|
330 |
<!-- delete -->
|
|
331 |
<td class="secondCol" valign="bottom">
|
|
332 |
<form method="get" action="./style/common/ClientViewHelper.jspx"
|
310 |
333 |
enctype="text/html">
|
311 |
334 |
<input name="action" value="Delete" type="submit"/>
|
312 |
335 |
<input name="docid" type="hidden" value="{.}"/>
|
313 |
336 |
<input name="qformat" type="hidden" value="{$qformat}"/>
|
314 |
337 |
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
315 |
338 |
</form>
|
316 |
|
</xsl:if>
|
317 |
|
</td>
|
318 |
|
<td>
|
319 |
|
<xsl:if test="not($sessionid = 'null')">
|
320 |
|
<form method="get" action="./style/common/ClientViewHelper.jspx">
|
|
339 |
</td>
|
|
340 |
<!-- set access -->
|
|
341 |
<td class="secondCol" valign="bottom">
|
|
342 |
<form method="get" action="./style/common/ClientViewHelper.jspx">
|
321 |
343 |
<input name="action" value="Set Access" type="submit"/>
|
322 |
344 |
<xsl:choose>
|
323 |
345 |
<xsl:when test="$publicRead = 'true'">
|
... | ... | |
331 |
353 |
<input name="qformat" type="hidden" value="{$qformat}"/>
|
332 |
354 |
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
333 |
355 |
<input name="contentStandard" type="hidden" value="FGDC"/>
|
334 |
|
</form>
|
335 |
|
<form method="post" action="./style/common/ClientViewHelper.jspx"
|
336 |
|
enctype="multipart/form-data">
|
337 |
|
<input name="action" value="Update Metadata" type="submit"/>
|
338 |
|
<input name="docid" type="hidden" value="{.}"/>
|
339 |
|
<input name="qformat" type="hidden" value="{$qformat}"/>
|
340 |
|
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
341 |
|
<input name="updateFile" type="file"/>
|
342 |
|
</form>
|
343 |
|
</xsl:if>
|
344 |
|
</td>
|
|
356 |
</form>
|
|
357 |
</td>
|
|
358 |
</xsl:if>
|
345 |
359 |
</xsl:template>
|
346 |
360 |
|
347 |
361 |
<xsl:template match="networka">
|
... | ... | |
351 |
365 |
</xsl:template>
|
352 |
366 |
|
353 |
367 |
<xsl:template match="networkr">
|
354 |
|
<td align="right">Data</td>
|
355 |
|
<td align="center">
|
356 |
|
<xsl:value-of select="./ancestor::digform/digtinfo/formcont"/> (<xsl:value-of select="."/>) </td>
|
357 |
|
<td>
|
|
368 |
<td class="highlight" align="left" valign="top">Data</td>
|
|
369 |
<td class="secondCol" align="left" valign="top">
|
|
370 |
<xsl:value-of select="./ancestor::digform/digtinfo/formcont"/> (<xsl:value-of select="."/>)
|
|
371 |
<!-- update -->
|
|
372 |
<xsl:if test="not($sessionid = 'null')">
|
|
373 |
<br/>
|
|
374 |
<br/>
|
|
375 |
<form method="post" action="./style/common/ClientViewHelper.jspx"
|
|
376 |
enctype="multipart/form-data">
|
|
377 |
<input name="action" value="Update Data" type="hidden"/>
|
|
378 |
<input name="docid" type="hidden" value="{.}"/>
|
|
379 |
<input name="qformat" type="hidden" value="{$qformat}"/>
|
|
380 |
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
|
381 |
<input name="updateFile" type="file"/>
|
|
382 |
<input name="submit" value="Update" type="submit"/>
|
|
383 |
</form>
|
|
384 |
</xsl:if>
|
|
385 |
</td>
|
|
386 |
<!-- download -->
|
|
387 |
<td class="secondCol" valign="bottom">
|
358 |
388 |
<form method="get" action="./style/common/ClientViewHelper.jspx" enctype="application/octet-stream">
|
359 |
389 |
<input name="action" value="Download" type="submit"/>
|
360 |
390 |
<input name="docid" type="hidden" value="{.}"/>
|
361 |
391 |
<input name="qformat" type="hidden" value="{$qformat}"/>
|
362 |
392 |
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
363 |
393 |
</form>
|
364 |
|
<xsl:if test="not($sessionid = 'null')">
|
365 |
|
<form method="get" action="./style/common/ClientViewHelper.jspx"
|
|
394 |
</td>
|
|
395 |
<xsl:if test="not($sessionid = 'null')">
|
|
396 |
<!-- delete -->
|
|
397 |
<td class="secondCol" valign="bottom">
|
|
398 |
<form method="get" action="./style/common/ClientViewHelper.jspx"
|
366 |
399 |
enctype="text/html">
|
367 |
400 |
<input name="action" value="Delete" type="submit"/>
|
368 |
401 |
<input name="docid" type="hidden" value="{.}"/>
|
369 |
402 |
<input name="qformat" type="hidden" value="{$qformat}"/>
|
370 |
403 |
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
371 |
404 |
</form>
|
372 |
|
</xsl:if>
|
373 |
|
</td>
|
374 |
|
<td>
|
375 |
|
<xsl:if test="not($sessionid = 'null')">
|
376 |
|
<form method="post" action="./style/common/ClientViewHelper.jspx"
|
377 |
|
enctype="multipart/form-data">
|
378 |
|
<input name="action" value="Update Data" type="submit"/>
|
379 |
|
<input name="docid" type="hidden" value="{.}"/>
|
380 |
|
<input name="qformat" type="hidden" value="{$qformat}"/>
|
381 |
|
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
382 |
|
<input name="updateFile" type="file"/>
|
383 |
|
</form>
|
384 |
|
</xsl:if>
|
385 |
|
</td>
|
|
405 |
</td>
|
|
406 |
<!-- set access -->
|
|
407 |
<td class="secondCol" valign="bottom"></td>
|
|
408 |
|
|
409 |
</xsl:if>
|
386 |
410 |
</xsl:template>
|
387 |
411 |
|
388 |
412 |
<xsl:template name="long_date">
|
organize the various file action buttons
annotate table cells with classes defined in stylesheet (now they can be customized for each skin!)
make the data labels (table cells) a bit more sleek (css)