Project

General

Profile

1 2921 jones
<?xml version="1.0"?>
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
4
<!-- A National Park Service XSL template for displaying metadata in ArcInfo8.
5
     Created: 6/2/2003 Eric Compas
6
		 See http://www.nature.nps.gov/im/units/mwr/gis/ for more information.-->
7
8
<!-- modified by M. Jones, NCEAS (UCSB) for use in the Metacat ecological data
9
     and metadata storage system.  Basically removed NPS-specific stylistic
10
     information that was hardcoded in the style -->
11
12
<!-- The "parameter" below is a variable that points to the directory where
13
     ArcGIS has been installed. The NPS Metadata Extension will try to
14
     automatically change this value. If for some reason that doesn't work, you
15
		 can change the value in the 'select=' to where Arc8 is installed on your
16
		 system. For example: "'C:\arcgis\arcexe83'" -->
17
18
<!-- The headerImage parameter was changed by Travis Stevens on
19
      8/24/2004 in order for online display.  The original code
20
      relied upon the NPS Metadata Tool and assumed that the
21
      image lived on in a local directory. -->
22
23
<xsl:param name="headerImage" select="'http://www.absc.usgs.gov/research/Denali/Images/headers/nps_header.jpg'"/>
24
<xsl:param name="altHeaderImage" select="'National Park Service, U.S. Department of the Interior'" />
25
26
<!-- TEMPLATE: main -->
27
<xsl:template match="/">
28
	<html>
29
		<head>
30
  		<title>NBII Metadata Summary</title>
31
  		<STYLE>
32
				body			{font-family:arial, verdana, helvetica, san-serif;
33
									color:black;
34
									background-color:#ffffff;
35
									text-align:left;
36
									}
37
  			h1 				{margin-left:0.00in;
38
          				position:relative;
39
          				top:0;
40
          				text-align:left;
41
          				font-size:16;
42
          				font-family:Arial,Verdana,sans-serif;
43
        					}
44
				p					{font-size:11;
45
									}
46
				dl 				{margin-top: 0px;
47
									margin-bottom: 0px;
48
									margin-left:0in;
49
									position:relative;
50
									left:0px;
51
									}
52
				dt 				{
53
									color:#000000;
54
									font-size:10pt;
55
									margin-bottom: 1px;
56
									}
57
				.nbii			{color:#006600;
58
									font-weight: bold;
59
									}
60
				.fgdc			{color:#0000cc;
61
									font-weight: bold;
62
									}
63
				dd 				{margin-left: 10px;
64
									margin-right: 0px;
65
									font-size:10pt;
66
									color:#000000;
67
									}
68
  			.titlebar	{color:#676769;
69
  								background-color:#f5f0dd;
70
  								border-right:solid 1px #d6d5d0;
71
  								border-left:solid 1px #d6d5d0;
72
  								border-bottom:solid 1px #d6d5d0;
73
  								padding:5px 5px 5px 5px;
74
  								}
75
  			.main			{background-color:#ffffff;
76
  								border-right:solid 1px #d6d5d0;
77
  								border-left:solid 1px #d6d5d0;
78
  								border-bottom:solid 1px #d6d5d0;
79
  								padding:5px 5px 5px 5px;
80
			</STYLE>
81
  	</head>
82
83
84
  	<body link="#666600" vlink="#999900" alink="#FF6666">
85
86
  		<table width="700" cellpadding="0" cellspacing="0" border="0">
87
            <!--
88
  			<tr>
89
					<td colspan="2" class="header">
90
						<map name="header_map" id="header_map">
91
							<area shape="rect" coords="475,3,700,59" HREF="http://www.nps.gov" ALT="Visit ParkNet"/>
92
							<area shape="rect" coords="2,3,399,43" HREF="http://www.nps.gov/gis" ALT="NPS Geographic Information Systems"/>
93
						</map>
94
						<img border="0" src="{$headerImage}" alt="{$altHeaderImage}" usemap="#header_map" height="60" width="700" />
95
					</td>
96
				</tr>
97
                -->
98
  			<tr>
99
  				<td class="titlebar">
100
  					<h1>NBII metadata summary for: <xsl:value-of select="metadata/idinfo/citation/citeinfo/title"/></h1>
101
  					<dl>
102
							<xsl:if test="metadata/idinfo/citation/citeinfo/origin[. != '']">
103
								<dt><b>Originator: </b>
104
        					<xsl:value-of select="metadata/idinfo/citation/citeinfo/origin"/>
105
								</dt>
106
   						</xsl:if>
107
							<xsl:if test="metadata/idinfo/citation/citeinfo/pubdate[. != '']">
108
								<dt><b>Publication Date: </b>
109
       						<xsl:value-of select="metadata/idinfo/citation/citeinfo/pubdate"/>
110
								</dt>
111
							</xsl:if>
112
							<xsl:if test="metadata/idinfo/citation/citeinfo/onlink[. != '']">
113
								<dt><b>Online citation: </b>
114
        					<xsl:value-of select="metadata/idinfo/citation/citeinfo/onlink"/>
115
								</dt>
116
							</xsl:if>
117
							<xsl:if test="metadata/idinfo/descript/abstract[. != '']">
118
  							<dt><b>Abstract:</b></dt>
119
  							<dd><xsl:value-of select="metadata/idinfo/descript/abstract"/></dd>
120
							</xsl:if>
121
							<dt><b>Bounding coordinates:</b></dt>
122
							<dd>
123
							<dl>
124
								<dd><b>West: </b><xsl:value-of select="metadata/idinfo/spdom/bounding/westbc"/></dd>
125
								<dd><b>East: </b><xsl:value-of select="metadata/idinfo/spdom/bounding/eastbc"/></dd>
126
								<dd><b>North: </b><xsl:value-of select="metadata/idinfo/spdom/bounding/northbc"/></dd>
127
								<dd><b>South: </b><xsl:value-of select="metadata/idinfo/spdom/bounding/southbc"/></dd>
128
							</dl>
129
							</dd>
130
							<dt><b>Place Keywords: </b>
131
								<xsl:for-each select="metadata/idinfo/keywords/place/placekey">
132
				  				<xsl:value-of select="."/><xsl:if test="position()!=last()">, </xsl:if>
133
								</xsl:for-each>
134
      				</dt>
135
      				<dt><b>Theme Keywords: </b>
136
								<xsl:for-each select="metadata/idinfo/keywords/theme/themekey">
137
				  				<xsl:value-of select="."/><xsl:if test="position()!=last()">, </xsl:if>
138
								</xsl:for-each>
139
      				</dt>
140
      				<xsl:if test="metadata/spref/horizsys/cordsysn/projcsn[. != '']">
141
	        			<dt><b>Projection: </b>
142
  	        			<xsl:value-of select="metadata/spref/horizsys/cordsysn/projcsn"/>
143
								</dt>
144
     					</xsl:if>
145
      				<xsl:if test="metadata/spref/horizsys/cordsysn/geogcsn[. != '']">
146
        				<dt><b>Geographic: </b>
147
          				<xsl:value-of select="metadata/spref/horizsys/cordsysn/geogcsn"/>
148
								</dt>
149
      				</xsl:if>
150
							<dt><b>Metadata date: </b>
151
        				<xsl:value-of select="metadata/metainfo/metd"/>
152
							</dt>
153
  					</dl>
154
  				</td>
155
  			</tr>
156
  			<tr>
157
  				<td class="main">
158
						<p>The following section contains all the NBII metadata elements that exist within this metadata file. Colors indicate <span class="nbii">NBII elements</span> and <span class="fgdc">FGDC elements</span>. Please use the XML stylesheet or the <b>Parse with MP</b> tool to view with all FGDC elements.</p>
159
						<dl>
160
  						<xsl:apply-templates />
161
						</dl>
162
					</td>
163
				</tr>
164
                <!--
165
				<tr bgcolor="#333333">
166
					<td width="554"><font size="1" color="#FFFFFF" face="Arial, Helvetica, sans-serif">Draft XSL Stylesheet 11/19/03 Eric Compas</font></td>
167
				</tr>
168
                -->
169
			</table>
170
		</body>
171
	</html>
172
</xsl:template>
173
174
<!-- TEMPLATE: idinfo -->
175
<xsl:template match="idinfo">
176
177
	<!-- start NBII element: description of geographic extent -->
178
	<xsl:if test="spdom/descgeog[. != '']">
179
		<dt class="nbii">Description of geographic extent:</dt>
180
  	<dd><xsl:value-of select="spdom/descgeog"/></dd>
181
		<BR/><br/>
182
	</xsl:if>
183
	<!-- end NBII element: description of geographic extent -->
184
185
186
	<!-- start NBII element: bounding altitude -->
187
	<xsl:for-each select="spdom/boundalt">
188
		<dt class="nbii">Bounding altitude:</dt>
189
		<dd>
190
		<dl>
191
			<dt><span class="nbii">Altitude minimum: </span>
192
					<xsl:value-of select="altmin" /></dt>
193
			<dt><span class="nbii">Altitude maximum: </span>
194
					<xsl:value-of select="altmax" /></dt>
195
196
			<!-- TODO: altitude distance units (can't find element name) -->
197
		</dl>
198
		</dd>
199
	</xsl:for-each>
200
	<!-- end NBII element: bounding altitude -->
201
202
	<!-- start NBII element: TAXONOMY -->
203
	<xsl:for-each select="taxonomy">
204
		<dt class="nbii">Taxonomy:</dt>
205
		<dd>
206
		<dl>
207
208
    	<!-- taxonomic keywords -->
209
      <xsl:for-each select="keywtax">
210
      	<dt class="nbii">Keywords/taxon:</dt>
211
				<dd>
212
      	<dl>
213
        	<dt>
214
						<xsl:for-each select="taxonkey[text()]">
215
          		<xsl:if test="position()=1"><span class="nbii">Taxonomic keywords: </span></xsl:if>
216
            	<xsl:value-of select="."/><xsl:if test="position()!=last()">, </xsl:if>
217
          	</xsl:for-each>
218
					</dt>
219
     			<dt><span class="nbii">Taxonomic keyword thesaurus: </span><xsl:value-of select="taxonkt"/></dt>
220
      	</dl>
221
				</dd>
222
				<BR/>
223
      </xsl:for-each>
224
225
					<!-- taxonomic system -->
226
					<xsl:for-each select="taxonsys">
227
						<dt class="nbii">Taxonomic system:</dt>
228
						<dd>
229
						<dl>
230
							<xsl:for-each select="classsys">
231
								<dt class="nbii">Classification system or authority:</dt>
232
								<dd>
233
								<dl>
234
									<xsl:for-each select="classcit">
235
										<dt class="nbii">Classification system citation:</dt>
236
										<dd>
237
										<dl>
238
											<xsl:apply-templates select="citeinfo"/>
239
										</dl>
240
										</dd>
241
										<xsl:for-each select="classmod">
242
											<dt class="nbii">Classification system modification:</dt>
243
											<dd>
244
												<xsl:value-of select="."/>
245
											</dd>
246
										</xsl:for-each>
247
									</xsl:for-each>
248
								</dl>
249
								</dd>
250
								<BR/>
251
							</xsl:for-each>
252
							<xsl:for-each select="idref">
253
								<dt class="nbii">Identification reference:</dt>
254
								<dd>
255
								<dl>
256
									<xsl:apply-templates select="citeinfo"/>
257
								</dl>
258
								</dd>
259
								<BR/>
260
							</xsl:for-each>
261
							<xsl:for-each select="ider">
262
								<dt class="nbii">Identifier:</dt>
263
								<dd>
264
								<dl>
265
									<xsl:apply-templates select="citeinfo"/>
266
								</dl>
267
								</dd>
268
								<BR/>
269
							</xsl:for-each>
270
							<xsl:for-each select="taxonpro">
271
								<dt class="nbii">Taxonomic procedures:</dt>
272
								<dd><xsl:value-of select="."/></dd>
273
							</xsl:for-each>
274
							<xsl:for-each select="taxoncom">
275
								<dt class="nbii">Taxonomic Completeness:</dt>
276
								<dd><xsl:value-of select="."/></dd>
277
							</xsl:for-each>
278
							<xsl:for-each select="vouchers">
279
								<dt class="nbii">Vouchers:</dt>
280
								<dd>
281
								<dl>
282
									<xsl:for-each select="specimen">
283
										<dt class="nbii">Specimen:</dt>
284
										<dd><xsl:value-of select="."/></dd>
285
									</xsl:for-each>
286
									<xsl:for-each select="reposit">
287
										<dt class="nbii">Repository:</dt>
288
										<dd>
289
										<dl>
290
											<xsl:apply-templates select="citeinfo"/>
291
										</dl>
292
										</dd>
293
									</xsl:for-each>
294
								</dl>
295
								</dd>
296
							</xsl:for-each>
297
						</dl>
298
						</dd>
299
						<BR/>
300
					</xsl:for-each>
301
302
					<!-- general taxonomic coverage -->
303
					<xsl:for-each select="taxoncom">
304
						<dt class="nbii">General taxonomic coverage:</dt>
305
						<dd><xsl:value-of select="."/></dd>
306
					</xsl:for-each>
307
308
     			<!-- taxonomic classification -->
309
	        <dt class="nbii">Taxonomic classification: </dt>
310
					<dd>
311
					<dl>
312
						<xsl:apply-templates select="taxoncl"/>
313
					</dl>
314
					</dd>
315
316
     		</dl>
317
				</dd>
318
				<BR/>
319
			</xsl:for-each>
320
			<!-- end NBII element: TAXONOMY -->
321
322
					<!-- begin NBII element: Analytical Tool -->
323
		<xsl:for-each select="tool">
324
  		<dt class="nbii">Analytical tool:</dt>
325
  		<dd>
326
  		<dl>
327
				<xsl:for-each select="tooldesc">
328
					<dt class="nbii">Analytical tool description:</dt>
329
					<dd><xsl:value-of select="." /></dd>
330
				</xsl:for-each>
331
				<xsl:for-each select="toolacc">
332
					<dt class="nbii">Tool access information:</dt>
333
					<dd>
334
					<dl>
335
						<xsl:for-each select="onlink">
336
							<dt>Online linkage:</dt>
337
							<dd><xsl:value-of select="." /></dd>
338
						</xsl:for-each>
339
						<xsl:for-each select="toolinst">
340
							<dt class="nbii">Tool access instructions:</dt>
341
							<dd><xsl:value-of select="." /></dd>
342
						</xsl:for-each>
343
						<xsl:for-each select="toolcomp">
344
							<dt class="nbii">Tool computer and operating system:</dt>
345
							<dd><xsl:value-of select="." /></dd>
346
						</xsl:for-each>
347
					</dl>
348
					</dd>
349
				</xsl:for-each>
350
				<xsl:for-each select="toolcont">
351
					<dt class="nbii">Tool contact:</dt>
352
					<dd>
353
					<dl>
354
						<xsl:apply-templates select="citeinfo"/>
355
					</dl>
356
					</dd>
357
				</xsl:for-each>
358
				<xsl:for-each select="toolcite">
359
					<dt class="nbii">Tool citation:</dt>
360
					<dd>
361
					<dl>
362
						<xsl:apply-templates select="citeinfo"/>
363
					</dl>
364
					</dd>
365
				</xsl:for-each>
366
  		</dl>
367
  		</dd>
368
		</xsl:for-each>
369
		<!-- end NBII element: Analytical Tool -->
370
</xsl:template>
371
372
<!-- TEMPLATE: taxonomic classification -->
373
<xsl:template match="taxoncl">
374
	<dt>
375
		<span class="nbii">Taxon rank name: </span>
376
		<xsl:value-of select="taxonrn"/>
377
		<span class="nbii"> Value: </span>
378
		<xsl:value-of select="taxonrv"/>
379
	</dt>
380
	<dt>
381
	<xsl:for-each select="common">
382
		<xsl:if test="position()=1"><span class="nbii">Applicable common names: </span></xsl:if>
383
    <xsl:value-of select="."/><xsl:if test="position()!=last()">, </xsl:if>
384
		<xsl:if test="position()=last()"><BR/><BR/></xsl:if>
385
  </xsl:for-each></dt>
386
	<dd>
387
	<dl>
388
		<!-- recurse -->
389
		<xsl:apply-templates />
390
	</dl>
391
	</dd>
392
</xsl:template>
393
394
395
<!-- TEMPLATE: data quality -->
396
<xsl:template match="dataqual">
397
	<xsl:for-each select="lineage">
398
		<!-- begin NBII element: methodology -->
399
		<xsl:for-each select="method">
400
			<dt class="nbii">Methodology:</dt>
401
			<dd>
402
			<dl>
403
				<xsl:for-each select="methtype">
404
					<dt class="nbii">Methodology type:</dt>
405
					<dd><xsl:value-of select="." /></dd>
406
				</xsl:for-each>
407
				<xsl:for-each select="methodid">
408
					<dt class="nbii">Methodology identifier:</dt>
409
					<dd>
410
					<dl>
411
						<dt>
412
						<xsl:for-each select="methkey[text()]">
413
			<xsl:if test="position()=1"><span class="nbii">Methodology keywords: </span></xsl:if>
414
		    <xsl:value-of select="."/><xsl:if test="position()!=last()">, </xsl:if>
415
		  </xsl:for-each>
416
						</dt>
417
						<xsl:for-each select="methkt">
418
							<dt><span class="nbii">Methodology keyword thesaurus: </span>
419
									<xsl:value-of select="." /></dt>
420
						</xsl:for-each>
421
					</dl>
422
					</dd>
423
				</xsl:for-each>
424
				<xsl:for-each select="methdesc">
425
					<dt class="nbii">Methodology description:</dt>
426
					<dd><xsl:value-of select="." /></dd>
427
				</xsl:for-each>
428
				<xsl:for-each select="methcite">
429
					<dt class="nbii">Methodology citation:</dt>
430
					<dd>
431
					<dl>
432
						<xsl:apply-templates select="citeinfo" />
433
					</dl>
434
					</dd>
435
				</xsl:for-each>
436
			</dl>
437
			</dd>
438
			<BR/>
439
			</xsl:for-each>
440
		<!-- end NBII element: methodology -->
441
	</xsl:for-each>
442
</xsl:template>
443
444
<!-- TEMPLATE: distribution information -->
445
<xsl:template match="distinfo">
446
	<!-- start NBII element: ASCII file structure -->
447
	<xsl:for-each select="asciistr">
448
		<dt class="nbii">ASCII file structure:</dt>
449
		<dd>
450
		<dl>
451
			<xsl:for-each select="recdel">
452
				<dt><span class="nbii">Record delimiter: </span>
453
						<xsl:value-of select="." /></dt>
454
			</xsl:for-each>
455
			<xsl:for-each select="numheadl">
456
				<dt><span class="nbii">Number header lines: </span>
457
						<xsl:value-of select="." /></dt>
458
			</xsl:for-each>
459
			<xsl:for-each select="deschead">
460
				<dt class="nbii">Description of header content:</dt>
461
				<dd><xsl:value-of select="." /></dd>
462
			</xsl:for-each>
463
			<xsl:for-each select="orienta">
464
				<dt><span class="nbii">Orientation: </span>
465
						<xsl:value-of select="." /></dt>
466
			</xsl:for-each>
467
			<xsl:for-each select="casesens">
468
				<dt><span class="nbii">Case sensetive: </span>
469
						<xsl:value-of select="." /></dt>
470
			</xsl:for-each>
471
			<xsl:for-each select="authent">
472
				<dt class="nbii">Authentication:</dt>
473
				<dd><xsl:value-of select="." /></dd>
474
			</xsl:for-each>
475
			<xsl:for-each select="quotech">
476
				<dt><span class="nbii">Quote character: </span>
477
						<xsl:value-of select="." /></dt>
478
			</xsl:for-each>
479
			<xsl:for-each select="datafiel">
480
				<dt class="nbii">Data field:</dt>
481
				<dd>
482
				<dl>
483
					<xsl:for-each select="dfieldnm">
484
						<dt><span class="nbii">Data field name: </span>
485
							<xsl:value-of select="." /></dt>
486
					</xsl:for-each>
487
					<xsl:for-each select="missingv">
488
						<dt><span class="nbii">Missing value code: </span>
489
							<xsl:value-of select="." /></dt>
490
					</xsl:for-each>
491
					<xsl:for-each select="dfwidthd">
492
						<dt><span class="nbii">Data field width delimiter: </span>
493
							<xsl:value-of select="." /></dt>
494
					</xsl:for-each>
495
					<xsl:for-each select="dfwidth">
496
						<dt><span class="nbii">Data field width:</span>
497
							<xsl:value-of select="." /></dt>
498
					</xsl:for-each>
499
				</dl>
500
				</dd>
501
			</xsl:for-each>
502
		</dl>
503
		</dd>
504
	</xsl:for-each>
505
	<!-- end NBII element: ASCII file structure -->
506
</xsl:template>
507
508
<!-- Time Period Info -->
509
<xsl:template match="timeinfo">
510
  <dt class="fgdc">Time period information:</dt>
511
  <dd>
512
  <dl>
513
    <xsl:apply-templates select="sngdate"/>
514
    <xsl:apply-templates select="mdattim"/>
515
    <xsl:apply-templates select="rngdates"/>
516
517
    <!-- begin NBII section -->
518
    <xsl:apply-templates select="beggeol"/>
519
    <xsl:apply-templates select="endgeog"/>
520
    <!-- end NBII section -->
521
522
  </dl>
523
  </dd>
524
  <BR/>
525
</xsl:template>
526
<!-- Single Date/Time -->
527
<xsl:template match="sngdate">
528
  <dt><B>Single date/time:</B></dt>
529
  <dd>
530
  <dl>
531
    <xsl:for-each select="caldate">
532
      <dt class="nbii">Calendar date:
533
        <xsl:choose>
534
          <xsl:when test="text()[. = 'REQUIRED: The year (and optionally month, or month and day) for which the data set corresponds to the ground.']">
535
            <FONT color="#999999"><xsl:value-of select="."/></FONT>
536
          </xsl:when>
537
          <xsl:when test="text()[. = 'The year (and optionally month, or month and day) for which the data set corresponds to the ground.  REQUIRED.']">
538
            <FONT color="#999999"><xsl:value-of select="." /></FONT>
539
          </xsl:when>
540
          <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
541
        </xsl:choose>
542
      </dt>
543
    </xsl:for-each>
544
    <xsl:for-each select="time">
545
      <dt><B>Time of day:</B> <xsl:value-of select="."/></dt>
546
    </xsl:for-each>
547
548
    <!-- begin NBII element: geologic age -->
549
    <xsl:apply-templates select="geolage"/>
550
    <!-- end NBII element: geologic age -->
551
552
  </dl>
553
  </dd>
554
</xsl:template>
555
<!-- Multiple Date/Time -->
556
<xsl:template match="mdattim">
557
  <dt class="fgdc"><B>Multiple dates/times:</B></dt>
558
  <dd>
559
  <dl>
560
    <xsl:apply-templates select="sngdate"/>
561
  </dl>
562
  </dd>
563
</xsl:template>
564
<!-- Range of Dates/Times -->
565
<xsl:template match="rngdates">
566
  <dt class="fgdc">Range of dates/times:</dt>
567
  <dd>
568
  <dl>
569
    <xsl:for-each select="begdate">
570
      <dt class="fgdc">Beginning date: <xsl:value-of select="."/></dt>
571
    </xsl:for-each>
572
    <xsl:for-each select="begtime">
573
      <dt class="fgdc">Beginning time: <xsl:value-of select="."/></dt>
574
    </xsl:for-each>
575
    <xsl:for-each select="enddate">
576
      <dt class="fgdc">Ending date: <xsl:value-of select="."/></dt>
577
    </xsl:for-each>
578
    <xsl:for-each select="endtime">
579
      <dt class="fgdc">Ending time: <xsl:value-of select="." /></dt>
580
    </xsl:for-each>
581
  </dl>
582
  </dd>
583
</xsl:template>
584
<!-- start NBII element: beginning geologic age -->
585
<xsl:template match="beggeol">
586
	<dt class="nbii">Beginning geologic age:</dt>
587
	<dd>
588
	<dl>
589
		<xsl:apply-templates select="geolage"/>
590
	</dl>
591
	</dd>
592
</xsl:template>
593
<!-- end NBII element: beginning geologic age -->
594
<!-- start NBII element: ending geologic age -->
595
<xsl:template match="endgeol">
596
	<dt class="nbii">Ending geologic age:</dt>
597
	<dd>
598
	<dl>
599
		<xsl:apply-templates select="geolage"/>
600
	</dl>
601
	</dd>
602
</xsl:template>
603
<!-- end NBII element: ending geologic age -->
604
<!-- start NBII element: geologic age -->
605
<xsl:template match="geolage">
606
	<dt class="nbii">Geologic age:</dt>
607
	<dd>
608
	<dl>
609
		<xsl:for-each select="geolscal">
610
			<dt class="nbii">Geologic time scale:</dt>
611
			<dd><xsl:value-of select="."/></dd>
612
		</xsl:for-each>
613
		<xsl:for-each select="geolest">
614
			<dt class="nbii">Geologic age estimate:</dt>
615
			<dd><xsl:value-of select="."/></dd>
616
		</xsl:for-each>
617
		<xsl:for-each select="geolun">
618
			<dt class="nbii">Geologic age uncertainty:</dt>
619
			<dd><xsl:value-of select="."/></dd>
620
		</xsl:for-each>
621
		<xsl:for-each select="geolexpl">
622
			<dt class="nbii">Geologic age explanation:</dt>
623
			<dd><xsl:value-of select="."/></dd>
624
		</xsl:for-each>
625
		<xsl:for-each select="geolcit">
626
			<dt class="nbii">Geologic citation:</dt>
627
			<dd>
628
			<dl>
629
				<xsl:apply-templates select="citeinfo"/>
630
			</dl>
631
			</dd>
632
		</xsl:for-each>
633
	</dl>
634
	</dd>
635
</xsl:template>
636
<!-- end NBII element: geologic age -->
637
638
<!-- start citation element -->
639
<xsl:template match="citeinfo">
640
  <dt class="fgdc">Citation information:</dt>
641
  <dd>
642
  <dl>
643
  	<xsl:if test="origin[. != '']">
644
      <dt class="fgdc">Originators:</dt>
645
      <dd>
646
      <xsl:for-each select="origin">
647
        <xsl:value-of select="."/><xsl:if test="position()!=last()">, </xsl:if>
648
      </xsl:for-each>
649
      </dd>
650
    </xsl:if>
651
 		<xsl:if test="origin[. != '']"><BR/><BR/></xsl:if>
652
653
		<xsl:for-each select="title">
654
		      <DT><FONT color="#0000AA"><B>Title:</B></FONT></DT>
655
		      <DD><xsl:value-of select="."/></DD>
656
		    </xsl:for-each>
657
		    <xsl:for-each select="pubdate">
658
		      <DT>
659
		        <FONT color="#0000AA"><B>Publication date:</B></FONT>
660
		        <xsl:value-of select="."/>
661
		      </DT>
662
		    </xsl:for-each>
663
		    <xsl:for-each select="pubtime">
664
		      <DT><FONT color="#0000AA"><B>Publication time:</B></FONT> <xsl:value-of select="."/></DT>
665
		    </xsl:for-each>
666
		    <xsl:for-each select="edition">
667
		      <DT><FONT color="#0000AA"><B>Edition:</B></FONT> <xsl:value-of select="."/></DT>
668
		    </xsl:for-each>
669
		    <xsl:for-each select="geoform">
670
		      <DT><FONT color="#0000AA"><B>Geospatial data presentation form:</B></FONT> <xsl:value-of select="."/></DT>
671
		    </xsl:for-each>
672
		    <xsl:for-each select="serinfo">
673
		      <DT><FONT color="#0000AA"><B>Series information:</B></FONT></DT>
674
		      <DD>
675
		      <DL>
676
		        <xsl:for-each select="sername">
677
		          <DT><FONT color="#0000AA"><B>Series name:</B></FONT> <xsl:value-of select="."/></DT>
678
		        </xsl:for-each>
679
		        <xsl:for-each select="issue">
680
		          <DT><FONT color="#0000AA"><B>Issue identification:</B></FONT> <xsl:value-of select="."/></DT>
681
		        </xsl:for-each>
682
		      </DL>
683
		      </DD>
684
		      <BR/>
685
		    </xsl:for-each>
686
687
		    <xsl:for-each select="pubinfo">
688
		      <DT><FONT color="#0000AA"><B>Publication information:</B></FONT></DT>
689
		      <DD>
690
		      <DL>
691
		        <xsl:for-each select="pubplace">
692
		          <DT><FONT color="#0000AA"><B>Publication place:</B></FONT> <xsl:value-of select="."/></DT>
693
		        </xsl:for-each>
694
		        <xsl:for-each select="publish">
695
		          <DT><FONT color="#0000AA"><B>Publisher:</B></FONT> <xsl:value-of select="."/></DT>
696
		        </xsl:for-each>
697
		      </DL>
698
		      </DD>
699
		      <BR/>
700
		    </xsl:for-each>
701
702
		    <xsl:for-each select="othercit">
703
		      <DT><FONT color="#0000AA"><B>Other citation details:</B></FONT></DT>
704
		      <DD><xsl:value-of select="."/></DD>
705
		      <BR/><BR/>
706
		    </xsl:for-each>
707
708
		    <xsl:for-each select="onlink">
709
		      <DT><FONT color="#0000AA"><B>Online linkage:</B></FONT> <A TARGET="viewer">
710
		        <xsl:attribute name="HREF"><xsl:value-of select="."/></xsl:attribute>
711
		        <xsl:value-of select="."/></A>
712
		      </DT>
713
		    </xsl:for-each>
714
		    <xsl:if test="onlink[. != '']"><BR/><BR/></xsl:if>
715
716
		    <xsl:for-each select="lworkcit">
717
		      <DT><FONT color="#0000AA"><B>Larger work citation:</B></FONT></DT>
718
		      <DD>
719
		      <DL>
720
		        <xsl:apply-templates select="citeinfo"/>
721
		      </DL>
722
		      </DD>
723
    </xsl:for-each>
724
725
726
727
  </dl>
728
  </dd>
729
</xsl:template>
730
731
<!-- TEMPLATE: default (don't display unprocessed elements)-->
732
	<xsl:template match="text()" />
733
</xsl:stylesheet>