1 |
553
|
tao
|
<?xml version="1.0"?>
|
2 |
|
|
<!--
|
3 |
|
|
* '$RCSfile$'
|
4 |
|
|
* Authors: Matthew Brooke
|
5 |
|
|
* Copyright: 2000 Regents of the University of California and the
|
6 |
|
|
* National Center for Ecological Analysis and Synthesis
|
7 |
|
|
* For Details: http://www.nceas.ucsb.edu/
|
8 |
|
|
*
|
9 |
|
|
* '$Author$'
|
10 |
|
|
* '$Date$'
|
11 |
|
|
* '$Revision$'
|
12 |
|
|
*
|
13 |
|
|
* This program is free software; you can redistribute it and/or modify
|
14 |
|
|
* it under the terms of the GNU General Public License as published by
|
15 |
|
|
* the Free Software Foundation; either version 2 of the License, or
|
16 |
|
|
* (at your option) any later version.
|
17 |
|
|
*
|
18 |
|
|
* This program is distributed in the hope that it will be useful,
|
19 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21 |
|
|
* GNU General Public License for more details.
|
22 |
|
|
*
|
23 |
|
|
* You should have received a copy of the GNU General Public License
|
24 |
|
|
* along with this program; if not, write to the Free Software
|
25 |
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26 |
|
|
*
|
27 |
|
|
* This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
|
28 |
|
|
* convert an XML file that is valid with respect to the eml-variable.dtd
|
29 |
|
|
* module of the Ecological Metadata Language (EML) into an HTML format
|
30 |
|
|
* suitable for rendering with modern web browsers.
|
31 |
|
|
-->
|
32 |
|
|
|
33 |
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
34 |
1634
|
tao
|
<xsl:import href="eml-literature-2.0.0.xsl"/>
|
35 |
553
|
tao
|
<xsl:output method="html" encoding="iso-8859-1"/>
|
36 |
|
|
|
37 |
|
|
<!-- This module is for coverage and it is self contained(It is a table
|
38 |
|
|
and will handle reference by it self)-->
|
39 |
|
|
<xsl:template name="coverage">
|
40 |
1696
|
tao
|
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
41 |
553
|
tao
|
<xsl:choose>
|
42 |
|
|
<xsl:when test="references!=''">
|
43 |
|
|
<xsl:variable name="ref_id" select="references"/>
|
44 |
|
|
<xsl:variable name="references" select="$ids[@id=$ref_id]" />
|
45 |
|
|
<xsl:for-each select="$references">
|
46 |
|
|
<xsl:for-each select="geographicCoverage">
|
47 |
|
|
<xsl:call-template name="geographicCoverage">
|
48 |
|
|
</xsl:call-template>
|
49 |
|
|
</xsl:for-each>
|
50 |
|
|
<xsl:for-each select="temporalCoverage">
|
51 |
|
|
<xsl:call-template name="temporalCoverage">
|
52 |
|
|
</xsl:call-template>
|
53 |
|
|
</xsl:for-each>
|
54 |
|
|
<xsl:for-each select="taxonomicCoverage">
|
55 |
|
|
<xsl:call-template name="taxonomicCoverage">
|
56 |
|
|
</xsl:call-template>
|
57 |
|
|
</xsl:for-each>
|
58 |
|
|
</xsl:for-each>
|
59 |
|
|
</xsl:when>
|
60 |
|
|
<xsl:otherwise>
|
61 |
|
|
<xsl:for-each select="geographicCoverage">
|
62 |
|
|
<xsl:call-template name="geographicCoverage">
|
63 |
|
|
</xsl:call-template>
|
64 |
|
|
</xsl:for-each>
|
65 |
|
|
<xsl:for-each select="temporalCoverage">
|
66 |
|
|
<xsl:call-template name="temporalCoverage">
|
67 |
|
|
</xsl:call-template>
|
68 |
|
|
</xsl:for-each>
|
69 |
|
|
<xsl:for-each select="taxonomicCoverage">
|
70 |
|
|
<xsl:call-template name="taxonomicCoverage">
|
71 |
|
|
</xsl:call-template>
|
72 |
|
|
</xsl:for-each>
|
73 |
|
|
</xsl:otherwise>
|
74 |
|
|
</xsl:choose>
|
75 |
|
|
</table>
|
76 |
|
|
</xsl:template>
|
77 |
|
|
|
78 |
|
|
<!-- ********************************************************************* -->
|
79 |
|
|
<!-- ************** G E O G R A P H I C C O V E R A G E ************** -->
|
80 |
|
|
<!-- ********************************************************************* -->
|
81 |
|
|
<xsl:template name="geographicCoverage">
|
82 |
|
|
<xsl:choose>
|
83 |
|
|
<xsl:when test="references!=''">
|
84 |
|
|
<xsl:variable name="ref_id" select="references"/>
|
85 |
|
|
<xsl:variable name="references" select="$ids[@id=$ref_id]" />
|
86 |
|
|
<xsl:for-each select="$references">
|
87 |
|
|
<xsl:call-template name="geographicCovCommon">
|
88 |
|
|
</xsl:call-template>
|
89 |
|
|
</xsl:for-each>
|
90 |
|
|
</xsl:when>
|
91 |
|
|
<xsl:otherwise>
|
92 |
|
|
<xsl:call-template name="geographicCovCommon">
|
93 |
|
|
</xsl:call-template>
|
94 |
|
|
</xsl:otherwise>
|
95 |
|
|
</xsl:choose>
|
96 |
|
|
</xsl:template>
|
97 |
|
|
|
98 |
|
|
<xsl:template name="geographicCovCommon">
|
99 |
|
|
<tr class="{$subHeaderStyle}"><td class="{$subHeaderStyle}" colspan="2">
|
100 |
|
|
<xsl:text>Geographic Coverage:</xsl:text></td></tr>
|
101 |
|
|
<xsl:apply-templates select="geographicDescription"/>
|
102 |
|
|
<xsl:apply-templates select="boundingCoordinates"/>
|
103 |
|
|
<xsl:for-each select="datasetGPolygon">
|
104 |
1686
|
tao
|
<xsl:if test="datasetGPolygonOuterGRing">
|
105 |
|
|
<xsl:apply-templates select="datasetGPolygonOuterGRing"/>
|
106 |
|
|
</xsl:if>
|
107 |
|
|
<xsl:if test="datasetGPolygonExclusionGRing">
|
108 |
|
|
<xsl:apply-templates select="datasetGPolygonExclusionGRing"/>
|
109 |
|
|
</xsl:if>
|
110 |
|
|
</xsl:for-each>
|
111 |
553
|
tao
|
</xsl:template>
|
112 |
|
|
|
113 |
|
|
<xsl:template match="geographicDescription">
|
114 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
115 |
|
|
Geographic Description:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
116 |
|
|
<xsl:value-of select="."/></td></tr>
|
117 |
|
|
</xsl:template>
|
118 |
|
|
|
119 |
|
|
<xsl:template match="boundingCoordinates">
|
120 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
121 |
1686
|
tao
|
Bounding Coordinates:
|
122 |
|
|
</td>
|
123 |
|
|
<td width="{$secondColWidth}">
|
124 |
1696
|
tao
|
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
125 |
1686
|
tao
|
<xsl:apply-templates select="westBoundingCoordinate"/>
|
126 |
|
|
<xsl:apply-templates select="eastBoundingCoordinate"/>
|
127 |
|
|
<xsl:apply-templates select="northBoundingCoordinate"/>
|
128 |
|
|
<xsl:apply-templates select="southBoundingCoordinate"/>
|
129 |
|
|
<xsl:apply-templates select="boundingAltitudes"/>
|
130 |
|
|
</table>
|
131 |
|
|
</td>
|
132 |
|
|
</tr>
|
133 |
553
|
tao
|
</xsl:template>
|
134 |
|
|
|
135 |
|
|
<xsl:template match="westBoundingCoordinate">
|
136 |
1686
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
137 |
|
|
<xsl:text>West:  </xsl:text>
|
138 |
|
|
</td>
|
139 |
|
|
<td width="{$secondColWidth}" class="{$secondColStyle}">
|
140 |
|
|
<xsl:value-of select="."/>  degrees
|
141 |
|
|
</td>
|
142 |
|
|
</tr>
|
143 |
553
|
tao
|
</xsl:template>
|
144 |
|
|
|
145 |
|
|
<xsl:template match="eastBoundingCoordinate">
|
146 |
1686
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
147 |
|
|
<xsl:text>East:  </xsl:text>
|
148 |
|
|
</td>
|
149 |
|
|
<td width="{$secondColWidth}" class="{$secondColStyle}">
|
150 |
|
|
<xsl:value-of select="."/>  degrees
|
151 |
|
|
</td>
|
152 |
|
|
</tr>
|
153 |
553
|
tao
|
</xsl:template>
|
154 |
|
|
|
155 |
|
|
<xsl:template match="northBoundingCoordinate">
|
156 |
1686
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
157 |
|
|
<xsl:text>North:  </xsl:text>
|
158 |
|
|
</td>
|
159 |
|
|
<td width="{$secondColWidth}" class="{$secondColStyle}">
|
160 |
|
|
<xsl:value-of select="."/>  degrees
|
161 |
|
|
</td>
|
162 |
|
|
</tr>
|
163 |
553
|
tao
|
</xsl:template>
|
164 |
|
|
|
165 |
|
|
<xsl:template match="southBoundingCoordinate">
|
166 |
1686
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
167 |
|
|
<xsl:text>South:  </xsl:text>
|
168 |
|
|
</td>
|
169 |
|
|
<td width="{$secondColWidth}" class="{$secondColStyle}">
|
170 |
|
|
<xsl:value-of select="."/>  degrees
|
171 |
|
|
</td>
|
172 |
|
|
</tr>
|
173 |
553
|
tao
|
</xsl:template>
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
<xsl:template match="boundingAltitudes">
|
177 |
1686
|
tao
|
|
178 |
553
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
179 |
1686
|
tao
|
Mimimum Altitude:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
180 |
553
|
tao
|
<xsl:apply-templates select="altitudeMinimum"/></td></tr>
|
181 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
182 |
1686
|
tao
|
Maximum Altitude:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
183 |
553
|
tao
|
<xsl:apply-templates select="altitudeMaximum"/></td></tr>
|
184 |
1686
|
tao
|
|
185 |
553
|
tao
|
</xsl:template>
|
186 |
|
|
|
187 |
|
|
<xsl:template match="altitudeMinimum">
|
188 |
1686
|
tao
|
<xsl:value-of select="."/>  <xsl:value-of select="../altitudeUnits"/>
|
189 |
553
|
tao
|
</xsl:template>
|
190 |
|
|
|
191 |
|
|
<xsl:template match="altitudeMaximum">
|
192 |
|
|
<xsl:value-of select="."/>  <xsl:value-of select="../altitudeUnits"/>
|
193 |
|
|
</xsl:template>
|
194 |
|
|
|
195 |
|
|
<xsl:template match="datasetGPolygonOuterGRing">
|
196 |
1686
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
197 |
|
|
<xsl:text>G-Ploygon(Outer Ring): </xsl:text>
|
198 |
|
|
</td>
|
199 |
|
|
<td width="{$secondColWidth}" class="{$secondColStyle}">
|
200 |
|
|
<xsl:apply-templates select="gRingPoint"/>
|
201 |
|
|
<xsl:apply-templates select="gRing"/>
|
202 |
|
|
</td>
|
203 |
|
|
</tr>
|
204 |
553
|
tao
|
</xsl:template>
|
205 |
|
|
|
206 |
|
|
<xsl:template match="datasetGPolygonExclusionGRing">
|
207 |
1686
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
208 |
|
|
<xsl:text>G-Ploygon(Exclusion Ring): </xsl:text>
|
209 |
|
|
</td>
|
210 |
|
|
<td width="{$secondColWidth}" class="{$secondColStyle}">
|
211 |
|
|
<xsl:apply-templates select="gRingPoint"/>
|
212 |
|
|
<xsl:apply-templates select="gRing"/>
|
213 |
|
|
</td>
|
214 |
|
|
</tr>
|
215 |
553
|
tao
|
</xsl:template>
|
216 |
|
|
|
217 |
|
|
<xsl:template match="gRing">
|
218 |
|
|
<xsl:text>(GRing)  </xsl:text>
|
219 |
|
|
<xsl:text>Latitude: </xsl:text>
|
220 |
|
|
<xsl:value-of select="gRingLatitude"/>,
|
221 |
|
|
<xsl:text>Longitude: </xsl:text>
|
222 |
|
|
<xsl:value-of select="gRingLongitude"/><br/>
|
223 |
|
|
</xsl:template>
|
224 |
|
|
|
225 |
|
|
<xsl:template match="gRingPoint">
|
226 |
|
|
<xsl:text>Latitude: </xsl:text>
|
227 |
|
|
<xsl:value-of select="gRingLatitude"/>,
|
228 |
|
|
<xsl:text>Longitude: </xsl:text>
|
229 |
|
|
<xsl:value-of select="gRingLongitude"/><br/>
|
230 |
|
|
</xsl:template>
|
231 |
|
|
|
232 |
|
|
<!-- ********************************************************************* -->
|
233 |
|
|
<!-- **************** T E M P O R A L C O V E R A G E **************** -->
|
234 |
|
|
<!-- ********************************************************************* -->
|
235 |
|
|
|
236 |
|
|
<xsl:template name="temporalCoverage">
|
237 |
|
|
<xsl:choose>
|
238 |
|
|
<xsl:when test="references!=''">
|
239 |
|
|
<xsl:variable name="ref_id" select="references"/>
|
240 |
|
|
<xsl:variable name="references" select="$ids[@id=$ref_id]" />
|
241 |
|
|
<xsl:for-each select="$references">
|
242 |
|
|
<xsl:call-template name="temporalCovCommon">
|
243 |
|
|
</xsl:call-template>
|
244 |
|
|
</xsl:for-each>
|
245 |
|
|
</xsl:when>
|
246 |
|
|
<xsl:otherwise>
|
247 |
|
|
<xsl:call-template name="temporalCovCommon">
|
248 |
|
|
</xsl:call-template>
|
249 |
|
|
</xsl:otherwise>
|
250 |
|
|
</xsl:choose>
|
251 |
|
|
</xsl:template>
|
252 |
|
|
|
253 |
|
|
<xsl:template name="temporalCovCommon" >
|
254 |
|
|
<tr class="{$subHeaderStyle}"><td class="{$subHeaderStyle}" colspan="2">
|
255 |
|
|
<xsl:text>Temporal Coverage:</xsl:text></td></tr>
|
256 |
|
|
<xsl:apply-templates select="singleDateTime"/>
|
257 |
|
|
<xsl:apply-templates select="rangeOfDates"/>
|
258 |
|
|
</xsl:template>
|
259 |
|
|
|
260 |
|
|
<xsl:template match="singleDateTime">
|
261 |
1686
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
262 |
|
|
Date:
|
263 |
|
|
</td>
|
264 |
1702
|
tao
|
<td width="{$secondColWidth}">
|
265 |
1686
|
tao
|
<xsl:call-template name="singleDateType" />
|
266 |
|
|
</td>
|
267 |
|
|
</tr>
|
268 |
|
|
</xsl:template>
|
269 |
553
|
tao
|
|
270 |
|
|
<xsl:template match="rangeOfDates">
|
271 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
272 |
|
|
Begin:
|
273 |
|
|
</td>
|
274 |
1702
|
tao
|
<td width="{$secondColWidth}">
|
275 |
1686
|
tao
|
<xsl:apply-templates select="beginDate"/>
|
276 |
|
|
</td>
|
277 |
553
|
tao
|
</tr>
|
278 |
|
|
|
279 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
280 |
|
|
End:
|
281 |
|
|
</td>
|
282 |
1702
|
tao
|
<td width="{$secondColWidth}">
|
283 |
553
|
tao
|
<xsl:apply-templates select="endDate"/>
|
284 |
|
|
</td>
|
285 |
|
|
</tr>
|
286 |
|
|
</xsl:template>
|
287 |
|
|
|
288 |
|
|
|
289 |
|
|
<xsl:template match="beginDate">
|
290 |
|
|
<xsl:call-template name="singleDateType"/>
|
291 |
|
|
</xsl:template>
|
292 |
|
|
|
293 |
|
|
<xsl:template match="endDate">
|
294 |
|
|
<xsl:call-template name="singleDateType"/>
|
295 |
|
|
</xsl:template>
|
296 |
|
|
|
297 |
|
|
<xsl:template name="singleDateType">
|
298 |
1696
|
tao
|
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
299 |
1686
|
tao
|
<xsl:if test="calendarDate">
|
300 |
553
|
tao
|
<tr>
|
301 |
1686
|
tao
|
<td width="100%" colspan="2" class="{$secondColStyle}">
|
302 |
553
|
tao
|
<xsl:value-of select="calendarDate"/>
|
303 |
|
|
<xsl:if test="./time and normalize-space(./time)!=''">
|
304 |
|
|
<xsl:text>  at  </xsl:text><xsl:apply-templates select="time"/>
|
305 |
|
|
</xsl:if>
|
306 |
|
|
</td>
|
307 |
|
|
</tr>
|
308 |
|
|
</xsl:if>
|
309 |
|
|
<xsl:if test="alternativeTimeScale">
|
310 |
1686
|
tao
|
<xsl:apply-templates select="alternativeTimeScale"/>
|
311 |
|
|
</xsl:if>
|
312 |
|
|
</table>
|
313 |
553
|
tao
|
</xsl:template>
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
<xsl:template match="alternativeTimeScale">
|
317 |
1686
|
tao
|
|
318 |
553
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
319 |
1686
|
tao
|
Timescale:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleName"/></td></tr>
|
320 |
553
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
321 |
1686
|
tao
|
Time estimate:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleAgeEstimate"/></td></tr>
|
322 |
|
|
<xsl:if test="timeScaleAgeUncertainty and normalize-space(timeScaleAgeUncertainty)!=''">
|
323 |
553
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
324 |
1686
|
tao
|
Time uncertainty:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleAgeUncertainty"/></td></tr>
|
325 |
|
|
</xsl:if>
|
326 |
|
|
<xsl:if test="timeScaleAgeExplanation and normalize-space(timeScaleAgeExplanation)!=''">
|
327 |
553
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
328 |
1686
|
tao
|
Time explanation:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleAgeExplanation"/></td></tr>
|
329 |
|
|
</xsl:if>
|
330 |
|
|
<xsl:if test="timeScaleCitation and normalize-space(timeScaleCitation)!=''">
|
331 |
553
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
332 |
1686
|
tao
|
Citation:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
333 |
553
|
tao
|
<xsl:apply-templates select="timeScaleCitation"/>
|
334 |
|
|
</td></tr>
|
335 |
1686
|
tao
|
</xsl:if>
|
336 |
|
|
|
337 |
553
|
tao
|
</xsl:template>
|
338 |
|
|
|
339 |
|
|
<xsl:template match="timeScaleCitation">
|
340 |
|
|
<!-- Using citation module here -->
|
341 |
|
|
<xsl:call-template name="citation">
|
342 |
|
|
</xsl:call-template>
|
343 |
|
|
</xsl:template>
|
344 |
|
|
|
345 |
|
|
<!-- ********************************************************************* -->
|
346 |
|
|
<!-- *************** T A X O N O M I C C O V E R A G E *************** -->
|
347 |
|
|
<!-- ********************************************************************* -->
|
348 |
|
|
<xsl:template name="taxonomicCoverage">
|
349 |
|
|
<xsl:choose>
|
350 |
|
|
<xsl:when test="references!=''">
|
351 |
|
|
<xsl:variable name="ref_id" select="references"/>
|
352 |
|
|
<xsl:variable name="references" select="$ids[@id=$ref_id]" />
|
353 |
|
|
<xsl:for-each select="$references">
|
354 |
|
|
<xsl:call-template name="taxonomicCovCommon">
|
355 |
|
|
</xsl:call-template>
|
356 |
|
|
</xsl:for-each>
|
357 |
|
|
</xsl:when>
|
358 |
|
|
<xsl:otherwise>
|
359 |
|
|
<xsl:call-template name="taxonomicCovCommon">
|
360 |
|
|
</xsl:call-template>
|
361 |
|
|
</xsl:otherwise>
|
362 |
|
|
</xsl:choose>
|
363 |
|
|
</xsl:template>
|
364 |
|
|
|
365 |
|
|
|
366 |
|
|
<xsl:template name="taxonomicCovCommon">
|
367 |
|
|
<tr class="{$subHeaderStyle}"><td class="{$subHeaderStyle}" colspan="2">
|
368 |
|
|
<xsl:text>Taxonomic Coverage:</xsl:text></td></tr>
|
369 |
1634
|
tao
|
<xsl:apply-templates select="taxonomicSystem"/>
|
370 |
553
|
tao
|
<xsl:apply-templates select="generalTaxonomicCoverage"/>
|
371 |
1634
|
tao
|
<xsl:for-each select="taxonomicClassification">
|
372 |
553
|
tao
|
<xsl:apply-templates select="."/>
|
373 |
|
|
</xsl:for-each>
|
374 |
|
|
</xsl:template>
|
375 |
1686
|
tao
|
|
376 |
|
|
|
377 |
|
|
<xsl:template match="taxonomicSystem">
|
378 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
379 |
553
|
tao
|
<xsl:text>Taxonomic System:</xsl:text></td>
|
380 |
1702
|
tao
|
<td width="{$secondColWidth}">
|
381 |
1696
|
tao
|
<table xsl:use-attribute-sets="cellspacing" width="100%" class="tabledefault">
|
382 |
1686
|
tao
|
<xsl:apply-templates select="./*"/>
|
383 |
|
|
</table>
|
384 |
|
|
</td>
|
385 |
|
|
</tr>
|
386 |
553
|
tao
|
</xsl:template>
|
387 |
1686
|
tao
|
|
388 |
553
|
tao
|
|
389 |
|
|
<xsl:template match="classificationSystem">
|
390 |
1686
|
tao
|
<xsl:for-each select="classificationSystemCitation">
|
391 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Classification Citation:</td>
|
392 |
1702
|
tao
|
<td width="{$secondColWidth}">
|
393 |
1686
|
tao
|
<xsl:call-template name="citation">
|
394 |
|
|
<xsl:with-param name="citationfirstColStyle" select="$firstColStyle"/>
|
395 |
|
|
<xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/>
|
396 |
|
|
</xsl:call-template>
|
397 |
|
|
</td>
|
398 |
|
|
</tr>
|
399 |
|
|
</xsl:for-each>
|
400 |
|
|
<xsl:if test="classificationSystemModifications and normalize-space(classificationSystemModifications)!=''">
|
401 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Modification:</td>
|
402 |
553
|
tao
|
<td width="{$secondColWidth}" class="{$secondColStyle}">
|
403 |
1702
|
tao
|
<xsl:value-of select="classificationSystemModifications"/>
|
404 |
1686
|
tao
|
</td>
|
405 |
|
|
</tr>
|
406 |
|
|
</xsl:if>
|
407 |
553
|
tao
|
</xsl:template>
|
408 |
|
|
|
409 |
1686
|
tao
|
|
410 |
553
|
tao
|
<xsl:template match="identificationReference">
|
411 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">ID Reference:</td>
|
412 |
1732
|
tao
|
<td width="{$secondColWidth}">
|
413 |
|
|
<xsl:call-template name="citation">
|
414 |
|
|
<xsl:with-param name="citationfirstColStyle" select="$firstColStyle"/>
|
415 |
|
|
<xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/>
|
416 |
|
|
</xsl:call-template>
|
417 |
|
|
</td>
|
418 |
|
|
</tr>
|
419 |
553
|
tao
|
</xsl:template>
|
420 |
|
|
|
421 |
|
|
<xsl:template match="identifierName">
|
422 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">ID Name:</td>
|
423 |
1702
|
tao
|
<td width="{$secondColWidth}">
|
424 |
1686
|
tao
|
<xsl:call-template name="party">
|
425 |
|
|
<xsl:with-param name="partyfirstColStyle" select="$firstColStyle"/>
|
426 |
|
|
</xsl:call-template>
|
427 |
|
|
</td>
|
428 |
|
|
</tr>
|
429 |
553
|
tao
|
</xsl:template>
|
430 |
|
|
|
431 |
|
|
<xsl:template match="taxonomicProcedures">
|
432 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
433 |
|
|
<xsl:text>Procedures:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
434 |
1686
|
tao
|
<xsl:value-of select="."/></td></tr>
|
435 |
553
|
tao
|
</xsl:template>
|
436 |
|
|
|
437 |
|
|
<xsl:template match="taxonomicCompleteness">
|
438 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
439 |
|
|
<xsl:text>Completeness:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
440 |
1686
|
tao
|
<xsl:value-of select="."/></td></tr>
|
441 |
553
|
tao
|
</xsl:template>
|
442 |
|
|
|
443 |
|
|
<xsl:template match="vouchers">
|
444 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Vouchers:</td>
|
445 |
1702
|
tao
|
<td width="{$secondColWidth}">
|
446 |
1696
|
tao
|
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
447 |
553
|
tao
|
<xsl:apply-templates select="specimen"/>
|
448 |
|
|
<xsl:apply-templates select="repository"/>
|
449 |
|
|
</table>
|
450 |
|
|
</td></tr>
|
451 |
|
|
</xsl:template>
|
452 |
|
|
|
453 |
|
|
<xsl:template match="specimen">
|
454 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
455 |
|
|
<xsl:text>Specimen:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
456 |
1634
|
tao
|
<xsl:value-of select="."/></td></tr>
|
457 |
553
|
tao
|
</xsl:template>
|
458 |
|
|
|
459 |
|
|
<xsl:template match="repository">
|
460 |
1686
|
tao
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Repository:</td>
|
461 |
1702
|
tao
|
<td width="{$secondColWidth}">
|
462 |
1686
|
tao
|
<xsl:for-each select="originator">
|
463 |
|
|
<xsl:call-template name="party">
|
464 |
|
|
<xsl:with-param name="partyfirstColStyle" select="$firstColStyle"/>
|
465 |
|
|
</xsl:call-template>
|
466 |
|
|
</xsl:for-each>
|
467 |
|
|
</td>
|
468 |
|
|
</tr>
|
469 |
553
|
tao
|
</xsl:template>
|
470 |
|
|
|
471 |
1686
|
tao
|
|
472 |
|
|
<xsl:template match="generalTaxonomicCoverage">
|
473 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
474 |
|
|
<xsl:text>General Coverage:</xsl:text></td>
|
475 |
|
|
<td width="{$secondColWidth}" class="{$secondColStyle}">
|
476 |
|
|
<xsl:value-of select="."/>
|
477 |
|
|
</td>
|
478 |
|
|
</tr>
|
479 |
|
|
</xsl:template>
|
480 |
|
|
|
481 |
|
|
|
482 |
553
|
tao
|
<xsl:template match="taxonomicClassification">
|
483 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
484 |
1702
|
tao
|
<xsl:text>Classification:</xsl:text></td><td width="{$secondColWidth}">
|
485 |
1696
|
tao
|
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
486 |
1686
|
tao
|
<xsl:apply-templates select="./*" mode="nest"/>
|
487 |
553
|
tao
|
</table>
|
488 |
|
|
</td></tr>
|
489 |
|
|
</xsl:template>
|
490 |
|
|
|
491 |
1686
|
tao
|
<xsl:template match="taxonRankName" mode="nest" >
|
492 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
493 |
553
|
tao
|
<xsl:text>Rank Name:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
494 |
|
|
<xsl:value-of select="."/></td></tr>
|
495 |
|
|
</xsl:template>
|
496 |
|
|
|
497 |
1686
|
tao
|
<xsl:template match="taxonRankValue" mode="nest">
|
498 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
499 |
553
|
tao
|
<xsl:text>Rank Value:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
500 |
|
|
<xsl:value-of select="."/></td></tr>
|
501 |
|
|
</xsl:template>
|
502 |
|
|
|
503 |
1686
|
tao
|
<xsl:template match="commonName" mode="nest">
|
504 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
505 |
|
|
<xsl:text>Common Name:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
506 |
553
|
tao
|
<xsl:value-of select="."/>
|
507 |
1686
|
tao
|
</td>
|
508 |
|
|
</tr>
|
509 |
553
|
tao
|
</xsl:template>
|
510 |
|
|
|
511 |
1686
|
tao
|
<xsl:template match="taxonomicClassification" mode="nest">
|
512 |
|
|
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
513 |
|
|
<xsl:text>Classification:</xsl:text>
|
514 |
|
|
</td>
|
515 |
1702
|
tao
|
<td width="{$secondColWidth}">
|
516 |
1696
|
tao
|
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
517 |
1686
|
tao
|
<xsl:apply-templates select="./*" mode="nest"/>
|
518 |
|
|
</table>
|
519 |
|
|
</td>
|
520 |
|
|
</tr>
|
521 |
|
|
</xsl:template>
|
522 |
553
|
tao
|
|
523 |
|
|
</xsl:stylesheet>
|