Revision 1702
Added by Jing Tao almost 21 years ago
eml-coverage-2.0.0.xsl~ | ||
---|---|---|
31 | 31 |
--> |
32 | 32 |
|
33 | 33 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
34 |
<!-- <xsl:import href="eml-literature-2.0.0beta6-@name@.xsl"/>-->
|
|
34 |
<xsl:import href="eml-literature-2.0.0.xsl"/>
|
|
35 | 35 |
<xsl:output method="html" encoding="iso-8859-1"/> |
36 | 36 |
|
37 | 37 |
<!-- This module is for coverage and it is self contained(It is a table |
38 | 38 |
and will handle reference by it self)--> |
39 | 39 |
<xsl:template name="coverage"> |
40 |
<table class="tabledefault" width="100%"> |
|
40 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
41 | 41 |
<xsl:choose> |
42 | 42 |
<xsl:when test="references!=''"> |
43 | 43 |
<xsl:variable name="ref_id" select="references"/> |
44 | 44 |
<xsl:variable name="references" select="$ids[@id=$ref_id]" /> |
45 | 45 |
<xsl:for-each select="$references"> |
46 |
<xsl:apply-templates mode="coverage"> |
|
47 |
</xsl:apply-templates> |
|
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> |
|
48 | 58 |
</xsl:for-each> |
49 | 59 |
</xsl:when> |
50 | 60 |
<xsl:otherwise> |
51 |
<xsl:apply-templates mode="coverage"> |
|
52 |
</xsl:apply-templates> |
|
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> |
|
53 | 73 |
</xsl:otherwise> |
54 | 74 |
</xsl:choose> |
55 | 75 |
</table> |
... | ... | |
58 | 78 |
<!-- ********************************************************************* --> |
59 | 79 |
<!-- ************** G E O G R A P H I C C O V E R A G E ************** --> |
60 | 80 |
<!-- ********************************************************************* --> |
61 |
<xsl:template match="geographicCov" mode="coverage">
|
|
81 |
<xsl:template name="geographicCoverage">
|
|
62 | 82 |
<xsl:choose> |
63 | 83 |
<xsl:when test="references!=''"> |
64 | 84 |
<xsl:variable name="ref_id" select="references"/> |
... | ... | |
81 | 101 |
<xsl:apply-templates select="geographicDescription"/> |
82 | 102 |
<xsl:apply-templates select="boundingCoordinates"/> |
83 | 103 |
<xsl:for-each select="datasetGPolygon"> |
84 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
85 |
Dataset G-Polygon:</td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
86 |
<xsl:apply-templates select="datasetGPolygonOuterGRing"/></td></tr> |
|
87 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
88 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
89 |
<xsl:for-each select="datasetGPolygonExclusionGRing"> |
|
90 |
<xsl:apply-templates select="."/> |
|
91 |
</xsl:for-each></td></tr> |
|
92 |
</xsl:for-each> |
|
104 |
<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> |
|
93 | 111 |
</xsl:template> |
94 | 112 |
|
95 | 113 |
<xsl:template match="geographicDescription"> |
... | ... | |
100 | 118 |
|
101 | 119 |
<xsl:template match="boundingCoordinates"> |
102 | 120 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
103 |
Bounding Coordinates:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
104 |
<xsl:apply-templates select="westBoundingCoordinate"/></td></tr>
|
|
105 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
106 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
107 |
<xsl:apply-templates select="eastBoundingCoordinate"/></td></tr>
|
|
108 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
109 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
110 |
<xsl:apply-templates select="northBoundingCoordinate"/></td></tr>
|
|
111 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
112 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
113 |
<xsl:apply-templates select="southBoundingCoordinate"/></td></tr>
|
|
114 |
<xsl:apply-templates select="boundingAltitudes"/>
|
|
121 |
Bounding Coordinates:
|
|
122 |
</td>
|
|
123 |
<td width="{$secondColWidth}">
|
|
124 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
125 |
<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>
|
|
115 | 133 |
</xsl:template> |
116 | 134 |
|
117 | 135 |
<xsl:template match="westBoundingCoordinate"> |
118 |
<xsl:text>West:  </xsl:text> |
|
119 |
<xsl:value-of select="."/>  degrees |
|
136 |
<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> |
|
120 | 143 |
</xsl:template> |
121 | 144 |
|
122 | 145 |
<xsl:template match="eastBoundingCoordinate"> |
123 |
<xsl:text>East:  </xsl:text> |
|
124 |
<xsl:value-of select="."/>  degrees |
|
146 |
<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> |
|
125 | 153 |
</xsl:template> |
126 | 154 |
|
127 | 155 |
<xsl:template match="northBoundingCoordinate"> |
128 |
<xsl:text>North:  </xsl:text> |
|
129 |
<xsl:value-of select="."/>  degrees |
|
156 |
<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> |
|
130 | 163 |
</xsl:template> |
131 | 164 |
|
132 | 165 |
<xsl:template match="southBoundingCoordinate"> |
133 |
<xsl:text>South:  </xsl:text> |
|
134 |
<xsl:value-of select="."/>  degrees |
|
166 |
<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> |
|
135 | 173 |
</xsl:template> |
136 | 174 |
|
137 | 175 |
|
138 | 176 |
<xsl:template match="boundingAltitudes"> |
177 |
|
|
139 | 178 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
140 |
Bounding Altitudes:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
179 |
Mimimum Altitude:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
141 | 180 |
<xsl:apply-templates select="altitudeMinimum"/></td></tr> |
142 | 181 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
143 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
182 |
Maximum Altitude:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
144 | 183 |
<xsl:apply-templates select="altitudeMaximum"/></td></tr> |
184 |
|
|
145 | 185 |
</xsl:template> |
146 | 186 |
|
147 | 187 |
<xsl:template match="altitudeMinimum"> |
148 |
<xsl:text>Minimum:  </xsl:text> |
|
149 |
<xsl:value-of select="."/>  <xsl:value-of select="../altitudeUnits"/> |
|
188 |
<xsl:value-of select="."/>  <xsl:value-of select="../altitudeUnits"/> |
|
150 | 189 |
</xsl:template> |
151 | 190 |
|
152 | 191 |
<xsl:template match="altitudeMaximum"> |
153 |
<xsl:text>Maximum:  </xsl:text> |
|
154 | 192 |
<xsl:value-of select="."/>  <xsl:value-of select="../altitudeUnits"/> |
155 | 193 |
</xsl:template> |
156 | 194 |
|
157 | 195 |
<xsl:template match="datasetGPolygonOuterGRing"> |
158 |
<xsl:text>Outer Ring:  </xsl:text> |
|
159 |
<xsl:for-each select="gringpoint"> |
|
160 |
<xsl:apply-templates select="."/> |
|
161 |
</xsl:for-each> |
|
162 |
<xsl:apply-templates select="gring"/> |
|
196 |
<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> |
|
163 | 204 |
</xsl:template> |
164 | 205 |
|
165 | 206 |
<xsl:template match="datasetGPolygonExclusionGRing"> |
166 |
<xsl:text>Exclusion Ring:  </xsl:text> |
|
167 |
<xsl:for-each select="gRingPoint"> |
|
168 |
<xsl:apply-templates select="."/> |
|
169 |
</xsl:for-each> |
|
170 |
<xsl:apply-templates select="gRing"/> |
|
207 |
<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> |
|
171 | 215 |
</xsl:template> |
172 | 216 |
|
173 | 217 |
<xsl:template match="gRing"> |
... | ... | |
189 | 233 |
<!-- **************** T E M P O R A L C O V E R A G E **************** --> |
190 | 234 |
<!-- ********************************************************************* --> |
191 | 235 |
|
192 |
<xsl:template match="temporalCov" mode="coverage">
|
|
236 |
<xsl:template name="temporalCoverage">
|
|
193 | 237 |
<xsl:choose> |
194 | 238 |
<xsl:when test="references!=''"> |
195 | 239 |
<xsl:variable name="ref_id" select="references"/> |
... | ... | |
214 | 258 |
</xsl:template> |
215 | 259 |
|
216 | 260 |
<xsl:template match="singleDateTime"> |
217 |
<xsl:call-template name="singleDateType" /> |
|
218 |
</xsl:template> |
|
261 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
262 |
Date: |
|
263 |
</td> |
|
264 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
265 |
<xsl:call-template name="singleDateType" /> |
|
266 |
</td> |
|
267 |
</tr> |
|
268 |
</xsl:template> |
|
219 | 269 |
|
220 | 270 |
<xsl:template match="rangeOfDates"> |
221 | 271 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
222 | 272 |
Begin: |
223 | 273 |
</td> |
224 | 274 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
225 |
<xsl:apply-templates select="beginDate"/>
|
|
226 |
</td> |
|
275 |
<xsl:apply-templates select="beginDate"/> |
|
276 |
</td>
|
|
227 | 277 |
</tr> |
228 | 278 |
|
229 | 279 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
... | ... | |
233 | 283 |
<xsl:apply-templates select="endDate"/> |
234 | 284 |
</td> |
235 | 285 |
</tr> |
236 |
|
|
237 |
|
|
238 | 286 |
</xsl:template> |
239 | 287 |
|
240 | 288 |
|
... | ... | |
247 | 295 |
</xsl:template> |
248 | 296 |
|
249 | 297 |
<xsl:template name="singleDateType"> |
250 |
<xsl:if test="calendarDate"> |
|
298 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%"> |
|
299 |
<xsl:if test="calendarDate"> |
|
251 | 300 |
<tr> |
252 |
<td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
253 |
Calendar Date:</td> |
|
254 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
301 |
<td width="100%" colspan="2" class="{$secondColStyle}"> |
|
255 | 302 |
<xsl:value-of select="calendarDate"/> |
256 | 303 |
<xsl:if test="./time and normalize-space(./time)!=''"> |
257 | 304 |
<xsl:text>  at  </xsl:text><xsl:apply-templates select="time"/> |
... | ... | |
260 | 307 |
</tr> |
261 | 308 |
</xsl:if> |
262 | 309 |
<xsl:if test="alternativeTimeScale"> |
263 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
264 |
Other Time Scale:</td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
265 |
<xsl:apply-templates select="alternativeTimeScale"/></td></tr> |
|
266 |
</xsl:if> |
|
310 |
<xsl:apply-templates select="alternativeTimeScale"/> |
|
311 |
</xsl:if> |
|
312 |
</table> |
|
267 | 313 |
</xsl:template> |
268 | 314 |
|
269 | 315 |
|
270 | 316 |
<xsl:template match="alternativeTimeScale"> |
271 |
<table width="100%"> |
|
317 |
|
|
272 | 318 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
273 |
timescale:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleName"/></td></tr>
|
|
319 |
Timescale:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleName"/></td></tr>
|
|
274 | 320 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
275 |
time estimate:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleAgeEstimate"/></td></tr> |
|
321 |
Time estimate:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleAgeEstimate"/></td></tr> |
|
322 |
<xsl:if test="timeScaleAgeUncertainty and normalize-space(timeScaleAgeUncertainty)!=''"> |
|
276 | 323 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
277 |
time uncertainty:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleAgeUncertainty"/></td></tr> |
|
324 |
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)!=''"> |
|
278 | 327 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
279 |
time explanation:</td><td width="{$secondColWidth}" class="{$secondColStyle}"><xsl:value-of select="timeScaleAgeExplanation"/></td></tr> |
|
328 |
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)!=''"> |
|
280 | 331 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
281 |
citation:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
282 |
<table width="100%"><xsl:apply-templates select="timeScaleCitation"/></table>
|
|
332 |
Citation:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
333 |
<xsl:apply-templates select="timeScaleCitation"/>
|
|
283 | 334 |
</td></tr> |
284 |
</table> |
|
335 |
</xsl:if> |
|
336 |
|
|
285 | 337 |
</xsl:template> |
286 | 338 |
|
287 | 339 |
<xsl:template match="timeScaleCitation"> |
288 | 340 |
<!-- Using citation module here --> |
289 |
|
|
341 |
<xsl:call-template name="citation"> |
|
342 |
</xsl:call-template> |
|
290 | 343 |
</xsl:template> |
291 | 344 |
|
292 | 345 |
<!-- ********************************************************************* --> |
293 | 346 |
<!-- *************** T A X O N O M I C C O V E R A G E *************** --> |
294 | 347 |
<!-- ********************************************************************* --> |
295 |
<xsl:template match="taxonomicCov" mode="coverage">
|
|
348 |
<xsl:template name="taxonomicCoverage">
|
|
296 | 349 |
<xsl:choose> |
297 | 350 |
<xsl:when test="references!=''"> |
298 | 351 |
<xsl:variable name="ref_id" select="references"/> |
... | ... | |
313 | 366 |
<xsl:template name="taxonomicCovCommon"> |
314 | 367 |
<tr class="{$subHeaderStyle}"><td class="{$subHeaderStyle}" colspan="2"> |
315 | 368 |
<xsl:text>Taxonomic Coverage:</xsl:text></td></tr> |
316 |
<xsl:apply-templates select="taxonsys"/>
|
|
369 |
<xsl:apply-templates select="taxonomicSystem"/>
|
|
317 | 370 |
<xsl:apply-templates select="generalTaxonomicCoverage"/> |
318 |
<xsl:for-each select="taxoncl">
|
|
371 |
<xsl:for-each select="taxonomicClassification">
|
|
319 | 372 |
<xsl:apply-templates select="."/> |
320 | 373 |
</xsl:for-each> |
321 | 374 |
</xsl:template> |
322 |
|
|
323 |
|
|
324 |
<xsl:template match="generalTaxonomicCoverage"> |
|
325 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
326 |
<xsl:text>General:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
327 |
<xsl:value-of select="."/></td></tr> |
|
328 |
</xsl:template> |
|
329 |
|
|
330 |
<!-- output for taxonomic system is not finished --> |
|
331 |
<xsl:template match="taxonomicSystem"> |
|
332 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
375 |
|
|
376 |
|
|
377 |
<xsl:template match="taxonomicSystem"> |
|
378 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
333 | 379 |
<xsl:text>Taxonomic System:</xsl:text></td> |
334 |
<td width="{$secondColWidth}" class="{$firstColStyle}"> </td></tr> |
|
335 |
<xsl:apply-templates select="./*"/> |
|
336 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
337 |
<xsl:text> </xsl:text></td><td width="{$secondColWidth}" class="{$firstColStyle}"> </td></tr> |
|
380 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
381 |
<table xsl:use-attribute-sets="cellspacing" width="100%" class="tabledefault"> |
|
382 |
<xsl:apply-templates select="./*"/> |
|
383 |
</table> |
|
384 |
</td> |
|
385 |
</tr> |
|
338 | 386 |
</xsl:template> |
387 |
|
|
339 | 388 |
|
340 | 389 |
<xsl:template match="classificationSystem"> |
341 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Classification System:</td> |
|
390 |
<xsl:for-each select="classificationSystemCitation"> |
|
391 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Classification Citation:</td> |
|
392 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
393 |
<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> |
|
342 | 402 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
343 |
<table width="100%"> |
|
344 |
<xsl:apply-templates select="classificationSystemCitaion"/> |
|
345 |
<xsl:apply-templates select="./classmod"/> |
|
346 |
</table> |
|
347 |
</td></tr> |
|
403 |
<xsl:apply-templates select="classificationSystemModifications"/> |
|
404 |
</td> |
|
405 |
</tr> |
|
406 |
</xsl:if> |
|
348 | 407 |
</xsl:template> |
349 | 408 |
|
350 |
<xsl:template match="classificationSystemCitation"> |
|
351 |
<!-- Need using citaion module --> |
|
352 | 409 |
|
353 |
</xsl:template> |
|
354 |
|
|
355 |
<xsl:template match="classificationSystemModifications"> |
|
356 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
357 |
<xsl:text>Modifications:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
358 |
<xsl:value-of select="."/></td></tr> |
|
359 |
</xsl:template> |
|
360 |
|
|
361 | 410 |
<xsl:template match="identificationReference"> |
362 | 411 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">ID Reference:</td> |
363 | 412 |
<td width="{$secondColWidth}" class="{$secondColStyle}">  |
364 | 413 |
</td></tr> |
365 |
<!-- Need using citaion module--> |
|
414 |
<tr><td colspan="2"> |
|
415 |
<xsl:call-template name="citation"> |
|
416 |
<xsl:with-param name="citationfirstColStyle" select="$firstColStyle"/> |
|
417 |
<xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/> |
|
418 |
</xsl:call-template> |
|
419 |
</td></tr> |
|
366 | 420 |
</xsl:template> |
367 | 421 |
|
368 | 422 |
<xsl:template match="identifierName"> |
369 | 423 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">ID Name:</td> |
370 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
371 |
  |
|
372 |
</td></tr> |
|
373 |
<tr><td colspan="2"> |
|
374 |
<xsl:call-template name="party"> |
|
375 |
<xsl:with-param name="partyfirstColStyle" select="$firstColStyle"/> |
|
376 |
</xsl:call-template> |
|
377 |
</td></tr> |
|
424 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
425 |
<xsl:call-template name="party"> |
|
426 |
<xsl:with-param name="partyfirstColStyle" select="$firstColStyle"/> |
|
427 |
</xsl:call-template> |
|
428 |
</td> |
|
429 |
</tr> |
|
378 | 430 |
</xsl:template> |
379 | 431 |
|
380 | 432 |
<xsl:template match="taxonomicProcedures"> |
381 | 433 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
382 | 434 |
<xsl:text>Procedures:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
383 |
<xsl:apply-templates select="."/></td></tr>
|
|
435 |
<xsl:value-of select="."/></td></tr>
|
|
384 | 436 |
</xsl:template> |
385 | 437 |
|
386 | 438 |
<xsl:template match="taxonomicCompleteness"> |
387 | 439 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
388 | 440 |
<xsl:text>Completeness:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
389 |
<xsl:apply-templates select="."/></td></tr>
|
|
441 |
<xsl:value-of select="."/></td></tr>
|
|
390 | 442 |
</xsl:template> |
391 | 443 |
|
392 | 444 |
<xsl:template match="vouchers"> |
393 | 445 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Vouchers:</td> |
394 | 446 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
395 |
<table width="100%"> |
|
447 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
396 | 448 |
<xsl:apply-templates select="specimen"/> |
397 | 449 |
<xsl:apply-templates select="repository"/> |
398 | 450 |
</table> |
... | ... | |
402 | 454 |
<xsl:template match="specimen"> |
403 | 455 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
404 | 456 |
<xsl:text>Specimen:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
405 |
<xsl:apply-templates select="./*"/></td></tr>
|
|
457 |
<xsl:value-of select="."/></td></tr>
|
|
406 | 458 |
</xsl:template> |
407 | 459 |
|
408 | 460 |
<xsl:template match="repository"> |
409 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Repository:</td>
|
|
461 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Repository:</td> |
|
410 | 462 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
411 |
 
|
|
412 |
</td></tr>
|
|
413 |
<tr><td colspan="2">
|
|
414 |
<xsl:call-template name="party">
|
|
415 |
<xsl:with-param name="partyfirstColStyle" select="$firstColStyle"/>
|
|
416 |
</xsl:call-template>
|
|
417 |
</td></tr>
|
|
463 |
<xsl:for-each select="originator">
|
|
464 |
<xsl:call-template name="party">
|
|
465 |
<xsl:with-param name="partyfirstColStyle" select="$firstColStyle"/>
|
|
466 |
</xsl:call-template>
|
|
467 |
</xsl:for-each>
|
|
468 |
</td>
|
|
469 |
</tr> |
|
418 | 470 |
</xsl:template> |
419 | 471 |
|
472 |
|
|
473 |
<xsl:template match="generalTaxonomicCoverage"> |
|
474 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
475 |
<xsl:text>General Coverage:</xsl:text></td> |
|
476 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
477 |
<xsl:value-of select="."/> |
|
478 |
</td> |
|
479 |
</tr> |
|
480 |
</xsl:template> |
|
481 |
|
|
482 |
|
|
420 | 483 |
<xsl:template match="taxonomicClassification"> |
421 | 484 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
422 | 485 |
<xsl:text>Classification:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
423 |
<table width="100%"> |
|
424 |
<xsl:apply-templates select="./*"/> |
|
486 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
|
|
487 |
<xsl:apply-templates select="./*" mode="nest"/>
|
|
425 | 488 |
</table> |
426 | 489 |
</td></tr> |
427 | 490 |
</xsl:template> |
428 | 491 |
|
429 |
<xsl:template match="taxonRankName"> |
|
430 |
<tr><td width="{$secondColIndent}" class="{$secondColStyle}">
|
|
492 |
<xsl:template match="taxonRankName" mode="nest" >
|
|
493 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
431 | 494 |
<xsl:text>Rank Name:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
432 | 495 |
<xsl:value-of select="."/></td></tr> |
433 | 496 |
</xsl:template> |
434 | 497 |
|
435 |
<xsl:template match="taxonRankValue"> |
|
436 |
<tr><td width="{$secondColIndent}" class="{$secondColStyle}">
|
|
498 |
<xsl:template match="taxonRankValue" mode="nest">
|
|
499 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
437 | 500 |
<xsl:text>Rank Value:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
438 | 501 |
<xsl:value-of select="."/></td></tr> |
439 | 502 |
</xsl:template> |
440 | 503 |
|
441 |
<xsl:template match="commonName"> |
|
442 |
<tr><td width="{$secondColIndent}" class="{$secondColStyle}"> |
|
443 |
<xsl:text>Common Name:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
444 |
<xsl:for-each select="."> |
|
504 |
<xsl:template match="commonName" mode="nest"> |
|
505 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
506 |
<xsl:text>Common Name:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
445 | 507 |
<xsl:value-of select="."/> |
446 |
</xsl:for-each></td></tr> |
|
508 |
</td> |
|
509 |
</tr> |
|
447 | 510 |
</xsl:template> |
448 | 511 |
|
512 |
<xsl:template match="taxonomicClassification" mode="nest"> |
|
513 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
514 |
<xsl:text>Classification:</xsl:text> |
|
515 |
</td> |
|
516 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
517 |
<table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%"> |
|
518 |
<xsl:apply-templates select="./*" mode="nest"/> |
|
519 |
</table> |
|
520 |
</td> |
|
521 |
</tr> |
|
522 |
</xsl:template> |
|
449 | 523 |
|
450 | 524 |
</xsl:stylesheet> |
Also available in: Unified diff
Revise some templates and in build file, when we compile, it would include harvest.