Revision 1686
Added by Jing Tao over 21 years ago
lib/style/eml2/eml-dataset-2.0.0.xsl | ||
---|---|---|
83 | 83 |
|
84 | 84 |
<xsl:template name="datasetpurpose"> |
85 | 85 |
<xsl:for-each select="purpose"> |
86 |
<tr><td class="{$subHeaderStyle}" colspan="2"> |
|
87 |
<xsl:text>Purpose:</xsl:text> |
|
88 |
</td> |
|
89 |
</tr> |
|
86 | 90 |
<tr> |
87 |
<td width="{$firstColWidth}" align="right" class="{$firstColStyle}">
|
|
88 |
Purpose:
|
|
91 |
<td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
92 |
 
|
|
89 | 93 |
</td> |
90 | 94 |
<td width="{$secondColWidth}" class="{$secondColStyle}" > |
91 |
  |
|
95 |
<xsl:call-template name="text"> |
|
96 |
<xsl:with-param name="textfirstColStyle" select="$firstColStyle"/> |
|
97 |
</xsl:call-template> |
|
92 | 98 |
</td> |
93 | 99 |
</tr> |
94 |
<tr> |
|
95 |
<td colspan="2" width="100%"> |
|
96 |
<xsl:call-template name="text"> |
|
97 |
<xsl:with-param name="textfirstColStyle" select="$firstColStyle"/> |
|
98 |
<xsl:with-param name="textsubHeaderStyle" select="$subHeaderStyle"/> |
|
99 |
</xsl:call-template> |
|
100 |
</td> |
|
101 |
</tr> |
|
102 |
</xsl:for-each> |
|
100 |
</xsl:for-each> |
|
103 | 101 |
</xsl:template> |
104 | 102 |
|
105 | 103 |
<xsl:template name="datasetmaintenance"> |
... | ... | |
109 | 107 |
</td></tr> |
110 | 108 |
<xsl:call-template name="mantenancedescription"/> |
111 | 109 |
<tr> |
112 |
<td width="{$firstColWidth}" align="right" class="{$firstColStyle}">
|
|
110 |
<td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
113 | 111 |
Frequency: |
114 | 112 |
</td> |
115 | 113 |
<td width="{$secondColWidth}" class="{$secondColStyle}" > |
116 | 114 |
<xsl:value-of select="maintenanceUpdateFrequency"/> |
117 | 115 |
</td> |
118 | 116 |
</tr> |
119 |
<xsl:call-template name="changehistory"/> |
|
117 |
<xsl:call-template name="datasetchangehistory"/>
|
|
120 | 118 |
</xsl:for-each> |
121 | 119 |
</xsl:template> |
122 | 120 |
|
123 |
<xsl:template name="maintenancedescription">
|
|
121 |
<xsl:template name="mantenancedescription"> |
|
124 | 122 |
<xsl:for-each select="description"> |
125 | 123 |
<tr> |
126 |
<td width="{$firstColWidth}" align="right" class="{$firstColStyle}">
|
|
124 |
<td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
127 | 125 |
Description: |
128 | 126 |
</td> |
129 | 127 |
<td width="{$secondColWidth}" class="{$secondColStyle}" > |
130 |
  |
|
128 |
<xsl:call-template name="text"> |
|
129 |
<xsl:with-param name="textfirstColStyle" select="$firstColStyle"/> |
|
130 |
</xsl:call-template> |
|
131 | 131 |
</td> |
132 | 132 |
</tr> |
133 |
<tr> |
|
134 |
<td colspan="2" width="100%"> |
|
135 |
<xsl:call-template name="text"> |
|
136 |
<xsl:with-param name="textfirstColStyle" select="$firstColStyle"/> |
|
137 |
<xsl:with-param name="textsubHeaderStyle" select="$subHeaderStyle"/> |
|
138 |
</xsl:call-template> |
|
139 |
</td> |
|
140 |
</tr> |
|
141 | 133 |
</xsl:for-each> |
142 | 134 |
</xsl:template> |
143 | 135 |
|
144 | 136 |
<xsl:template name="datasetchangehistory"> |
145 | 137 |
<xsl:if test="changeHistory"> |
146 | 138 |
<tr> |
147 |
<td width="{$firstColWidth}" align="right" class="{$firstColStyle}">
|
|
139 |
<td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
148 | 140 |
History: |
149 | 141 |
</td> |
150 | 142 |
<td width="{$secondColWidth}" class="{$secondColStyle}" > |
... | ... | |
225 | 217 |
|
226 | 218 |
<xsl:template name="datasetproject"> |
227 | 219 |
<xsl:for-each select="project"> |
220 |
<tr><td class="{$subHeaderStyle}" colspan="2"> |
|
221 |
<xsl:text>Project Info:</xsl:text> |
|
222 |
</td></tr> |
|
228 | 223 |
<tr> |
229 | 224 |
<td colspan="2" width="100%"> |
230 | 225 |
<xsl:call-template name="project"> |
lib/style/eml2/eml-project-2.0.0.xsl | ||
---|---|---|
42 | 42 |
<xsl:variable name="ref_id" select="references"/> |
43 | 43 |
<xsl:variable name="references" select="$ids[@id=$ref_id]" /> |
44 | 44 |
<xsl:for-each select="$references"> |
45 |
<xsl:call-template name="projectcommn"> |
|
45 |
<xsl:call-template name="projectcommon">
|
|
46 | 46 |
<xsl:with-param name="projectfirstColStyle" select="$projectfirstColStyle"/> |
47 | 47 |
</xsl:call-template> |
48 | 48 |
</xsl:for-each> |
49 | 49 |
</xsl:when> |
50 | 50 |
<xsl:otherwise> |
51 |
<xsl:call-template name="projectcommn"> |
|
51 |
<xsl:call-template name="projectcommon">
|
|
52 | 52 |
<xsl:with-param name="projectfirstColStyle" select="$projectfirstColStyle"/> |
53 | 53 |
</xsl:call-template> |
54 | 54 |
</xsl:otherwise> |
... | ... | |
172 | 172 |
</tr> |
173 | 173 |
<xsl:for-each select="descriptor"> |
174 | 174 |
<tr><td width="{$firstColWidth}" class="{$projectfirstColStyle}"> |
175 |
 
|
|
175 |
<xsl:value-of select="./@name"/>
|
|
176 | 176 |
</td> |
177 | 177 |
<td width="{$secondColWidth}" class="{$secondColStyle}" > |
178 |
<xsl:value-of select="descriptorValue"/> |
|
178 |
<xsl:value-of select="descriptorValue"/><xsl:value-of select="descriptorValue/@name_or_id"/>
|
|
179 | 179 |
</td> |
180 | 180 |
</tr> |
181 | 181 |
<xsl:if test="citation"> |
lib/style/eml2/eml-spatialraster-2.0.0.xsl | ||
---|---|---|
338 | 338 |
</xsl:for-each> |
339 | 339 |
<xsl:for-each select="horizCoordSysDef/geogCoordSys"> |
340 | 340 |
<tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}"> |
341 |
Definition of Geographic Coordinate System
|
|
341 |
Definition of <xsl:value-of select="../@name"/> (Geographic Coordinate System)
|
|
342 | 342 |
</td> |
343 | 343 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
344 | 344 |
<xsl:call-template name="geogCoordSysType"> |
... | ... | |
350 | 350 |
<xsl:for-each select="horizCoordSysDef/projCoordSys"> |
351 | 351 |
<xsl:for-each select="geogCoordSys"> |
352 | 352 |
<tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}"> |
353 |
Definition of Geographic Coordinate System |
|
353 |
Definition of<xsl:value-of select="../@name"/> Geographic Coordinate System
|
|
354 | 354 |
</td> |
355 | 355 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
356 | 356 |
<xsl:call-template name="geogCoordSysType"> |
... | ... | |
367 | 367 |
<table class="default" width="100%"> |
368 | 368 |
<xsl:for-each select="parameter"> |
369 | 369 |
<tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}"> |
370 |
Parameter
|
|
370 |
<xsl:value-of select="./@name"/>
|
|
371 | 371 |
</td> |
372 | 372 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
373 |
<xsl:value-of select="."/> |
|
373 |
<table class="default" width="100%"> |
|
374 |
<tr> |
|
375 |
<td width="{$firstColWidth}" class="{$secondColStyle}"> |
|
376 |
<xsl:value-of select="./@value"/> |
|
377 |
</td> |
|
378 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
379 |
<xsl:value-of select="./@description"/> |
|
380 |
</td> |
|
381 |
</tr> |
|
382 |
</table> |
|
374 | 383 |
</td> |
375 | 384 |
</tr> |
376 | 385 |
</xsl:for-each> |
... | ... | |
379 | 388 |
Unit |
380 | 389 |
</td> |
381 | 390 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
382 |
<xsl:value-of select="."/> |
|
391 |
<xsl:value-of select="./@name"/>
|
|
383 | 392 |
</td> |
384 | 393 |
</tr> |
385 | 394 |
</xsl:for-each> |
... | ... | |
490 | 499 |
Datum |
491 | 500 |
</td> |
492 | 501 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
493 |
<xsl:value-of select="."/> |
|
502 |
<xsl:value-of select="./@name"/>
|
|
494 | 503 |
</td> |
495 | 504 |
</tr> |
496 | 505 |
</xsl:for-each> |
... | ... | |
499 | 508 |
Spheroid |
500 | 509 |
</td> |
501 | 510 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
502 |
<xsl:value-of select="."/> |
|
511 |
<table class="default" width="100%"> |
|
512 |
<tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}"> |
|
513 |
Name |
|
514 |
</td> |
|
515 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
516 |
<xsl:value-of select="./@name"/> |
|
517 |
</td> |
|
518 |
</tr> |
|
519 |
<tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}"> |
|
520 |
Semi Axis Major |
|
521 |
</td> |
|
522 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
523 |
<xsl:value-of select="./@semiAxisMajor"/> |
|
524 |
</td> |
|
525 |
</tr> |
|
526 |
<tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}"> |
|
527 |
Denom Flat Ration |
|
528 |
</td> |
|
529 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
530 |
<xsl:value-of select="./@denomFlatRatio"/> |
|
531 |
</td> |
|
532 |
</tr> |
|
533 |
</table> |
|
534 |
|
|
503 | 535 |
</td> |
504 | 536 |
</tr> |
505 | 537 |
</xsl:for-each> |
... | ... | |
508 | 540 |
Prime Meridian |
509 | 541 |
</td> |
510 | 542 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
511 |
<xsl:value-of select="."/> |
|
543 |
<table class="default" width="100%"> |
|
544 |
<tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}"> |
|
545 |
Name |
|
546 |
</td> |
|
547 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
548 |
<xsl:value-of select="./@name"/> |
|
549 |
</td> |
|
550 |
</tr> |
|
551 |
<tr><td width="{$firstColWidth}" class="{$spatialrasterfirstColStyle}"> |
|
552 |
Longitude |
|
553 |
</td> |
|
554 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
555 |
<xsl:value-of select="./@longitude"/> |
|
556 |
</td> |
|
557 |
</tr> |
|
558 |
</table> |
|
512 | 559 |
</td> |
513 | 560 |
</tr> |
514 | 561 |
</xsl:for-each> |
... | ... | |
517 | 564 |
Unit |
518 | 565 |
</td> |
519 | 566 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
520 |
<xsl:value-of select="."/> |
|
567 |
<xsl:value-of select="./@name"/>
|
|
521 | 568 |
</td> |
522 | 569 |
</tr> |
523 | 570 |
</xsl:for-each> |
lib/style/eml2/eml-resource-2.0.0.xsl | ||
---|---|---|
60 | 60 |
</xsl:call-template> |
61 | 61 |
</xsl:for-each> |
62 | 62 |
|
63 |
<xsl:for-each select="pubDate"> |
|
64 |
<xsl:call-template name="resourcepubDate" > |
|
65 |
<xsl:with-param name="resfirstColStyle" select="$resfirstColStyle"/> |
|
66 |
</xsl:call-template> |
|
67 |
</xsl:for-each> |
|
68 |
|
|
69 |
<xsl:for-each select="language"> |
|
70 |
<xsl:call-template name="resourcelanguage" > |
|
71 |
<xsl:with-param name="resfirstColStyle" select="$resfirstColStyle"/> |
|
72 |
</xsl:call-template> |
|
73 |
</xsl:for-each> |
|
74 |
|
|
75 |
<xsl:for-each select="series"> |
|
76 |
<xsl:call-template name="resourceseries" > |
|
77 |
<xsl:with-param name="resfirstColStyle" select="$resfirstColStyle"/> |
|
78 |
</xsl:call-template> |
|
79 |
</xsl:for-each> |
|
80 |
|
|
63 | 81 |
<xsl:if test="creator"> |
64 | 82 |
<tr><td class="{$ressubHeaderStyle}" colspan="2"> |
65 | 83 |
<xsl:value-of select="$creator"/> |
... | ... | |
92 | 110 |
<xsl:with-param name="resfirstColStyle" select="$resfirstColStyle"/> |
93 | 111 |
</xsl:call-template> |
94 | 112 |
</xsl:for-each> |
95 |
|
|
96 |
<xsl:for-each select="pubDate"> |
|
97 |
<xsl:call-template name="resourcepubDate" > |
|
98 |
<xsl:with-param name="resfirstColStyle" select="$resfirstColStyle"/> |
|
99 |
</xsl:call-template> |
|
100 |
</xsl:for-each> |
|
101 |
|
|
102 |
<xsl:for-each select="language"> |
|
103 |
<xsl:call-template name="resourcelanguage" > |
|
104 |
<xsl:with-param name="resfirstColStyle" select="$resfirstColStyle"/> |
|
105 |
</xsl:call-template> |
|
106 |
</xsl:for-each> |
|
107 |
|
|
108 |
<xsl:for-each select="series"> |
|
109 |
<xsl:call-template name="resourceseries" > |
|
110 |
<xsl:with-param name="resfirstColStyle" select="$resfirstColStyle"/> |
|
111 |
</xsl:call-template> |
|
112 |
</xsl:for-each> |
|
113 |
|
|
113 |
|
|
114 | 114 |
<xsl:for-each select="abstract"> |
115 | 115 |
<xsl:call-template name="resourceabstract" > |
116 | 116 |
<xsl:with-param name="resfirstColStyle" select="$resfirstColStyle"/> |
... | ... | |
213 | 213 |
<xsl:with-param name="partyfirstColStyle" select="$resfirstColStyle"/> |
214 | 214 |
</xsl:call-template> |
215 | 215 |
</td></tr> |
216 |
<tr><td width="{$firstColWidth}" class="{$resfirstColStyle}"> </td> |
|
217 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> </td></tr> |
|
218 |
</xsl:template> |
|
216 |
</xsl:template> |
|
219 | 217 |
|
220 | 218 |
<!--<xsl:template match="metadataProvider[1]" mode="resource"> |
221 | 219 |
<xsl:param name="ressubHeaderStyle"/> |
... | ... | |
238 | 236 |
<xsl:with-param name="partyfirstColStyle" select="$resfirstColStyle"/> |
239 | 237 |
</xsl:call-template> |
240 | 238 |
</td></tr> |
241 |
<tr><td width="{$firstColWidth}" class="{$resfirstColStyle}"> </td> |
|
242 |
<td width="{$secondColWidth}" class="{$secondColStyle}">  |
|
243 |
</td></tr> |
|
244 | 239 |
</xsl:template> |
245 | 240 |
|
246 | 241 |
|
... | ... | |
267 | 262 |
<xsl:with-param name="partyfirstColStyle" select="$resfirstColStyle"/> |
268 | 263 |
</xsl:call-template> |
269 | 264 |
</td></tr> |
270 |
<tr><td width="{$firstColWidth}" class="{$resfirstColStyle}"> </td> |
|
271 |
<td width="{$secondColWidth}" class="{$secondColStyle}">  |
|
272 |
</td></tr> |
|
273 | 265 |
</xsl:template> |
274 | 266 |
|
275 | 267 |
|
... | ... | |
309 | 301 |
<tr><td class="{$ressubHeaderStyle}" colspan="2"> |
310 | 302 |
<xsl:text>Abstract:</xsl:text> |
311 | 303 |
</td></tr> |
312 |
<tr><td colspan="2" width="100%"> |
|
313 |
<xsl:call-template name="text"> |
|
314 |
<xsl:with-param name="textfirstColStyle" select="$resfirstColStyle"/> |
|
315 |
</xsl:call-template> |
|
316 |
</td></tr> |
|
317 | 304 |
<tr><td width="{$firstColWidth}" class="{$resfirstColStyle}"> </td> |
318 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> </td></tr> |
|
305 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
306 |
<xsl:call-template name="text"> |
|
307 |
<xsl:with-param name="textfirstColStyle" select="$resfirstColStyle"/> |
|
308 |
</xsl:call-template> |
|
309 |
</td> |
|
310 |
</tr> |
|
319 | 311 |
</xsl:template> |
320 | 312 |
|
321 | 313 |
|
... | ... | |
368 | 360 |
<tr><td class="{$ressubHeaderStyle}" colspan="2"> |
369 | 361 |
<xsl:text>Additional Information:</xsl:text> |
370 | 362 |
</td></tr> |
371 |
<tr><td colspan="2" width="100%"> |
|
372 |
<xsl:call-template name="text"> |
|
373 |
<xsl:with-param name="textfirstColStyle" select="$resfirstColStyle"/> |
|
374 |
</xsl:call-template> |
|
375 |
</td></tr> |
|
363 |
<tr><td width="{$firstColWidth}" class="{$resfirstColStyle}"> </td> |
|
364 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
365 |
<xsl:call-template name="text"> |
|
366 |
<xsl:with-param name="textfirstColStyle" select="$resfirstColStyle"/> |
|
367 |
</xsl:call-template> |
|
368 |
</td> |
|
369 |
</tr> |
|
376 | 370 |
</xsl:template> |
377 | 371 |
|
378 | 372 |
|
... | ... | |
382 | 376 |
<tr><td class="{$ressubHeaderStyle}" colspan="2"> |
383 | 377 |
<xsl:text>License and Usage Rights:</xsl:text> |
384 | 378 |
</td></tr> |
385 |
<tr><td colspan="2" width="100%"> |
|
386 |
<xsl:call-template name="text"> |
|
387 |
<xsl:with-param name="textfirstColStyle" select="$resfirstColStyle"/> |
|
388 |
</xsl:call-template> |
|
389 |
</td></tr> |
|
379 |
<tr><td width="{$firstColWidth}" class="{$resfirstColStyle}"> </td> |
|
380 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
381 |
<xsl:call-template name="text"> |
|
382 |
<xsl:with-param name="textfirstColStyle" select="$resfirstColStyle"/> |
|
383 |
</xsl:call-template> |
|
384 |
</td> |
|
385 |
</tr> |
|
390 | 386 |
</xsl:template> |
391 | 387 |
|
392 | 388 |
<xsl:template name="resourcedistribution"> |
lib/style/eml2/eml-coverage-2.0.0.xsl | ||
---|---|---|
101 | 101 |
<xsl:apply-templates select="geographicDescription"/> |
102 | 102 |
<xsl:apply-templates select="boundingCoordinates"/> |
103 | 103 |
<xsl:for-each select="datasetGPolygon"> |
104 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
105 |
Dataset G-Polygon:</td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
106 |
<xsl:apply-templates select="datasetGPolygonOuterGRing"/></td></tr> |
|
107 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
108 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
109 |
<xsl:for-each select="datasetGPolygonExclusionGRing"> |
|
110 |
<xsl:apply-templates select="."/> |
|
111 |
</xsl:for-each></td></tr> |
|
112 |
</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> |
|
113 | 111 |
</xsl:template> |
114 | 112 |
|
115 | 113 |
<xsl:template match="geographicDescription"> |
... | ... | |
120 | 118 |
|
121 | 119 |
<xsl:template match="boundingCoordinates"> |
122 | 120 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
123 |
Bounding Coordinates:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
124 |
<xsl:apply-templates select="westBoundingCoordinate"/></td></tr>
|
|
125 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
126 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
127 |
<xsl:apply-templates select="eastBoundingCoordinate"/></td></tr>
|
|
128 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
129 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
130 |
<xsl:apply-templates select="northBoundingCoordinate"/></td></tr>
|
|
131 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
132 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
133 |
<xsl:apply-templates select="southBoundingCoordinate"/></td></tr>
|
|
134 |
<xsl:apply-templates select="boundingAltitudes"/>
|
|
121 |
Bounding Coordinates:
|
|
122 |
</td>
|
|
123 |
<td width="{$secondColWidth}">
|
|
124 |
<table 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>
|
|
135 | 133 |
</xsl:template> |
136 | 134 |
|
137 | 135 |
<xsl:template match="westBoundingCoordinate"> |
138 |
<xsl:text>West:  </xsl:text> |
|
139 |
<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> |
|
140 | 143 |
</xsl:template> |
141 | 144 |
|
142 | 145 |
<xsl:template match="eastBoundingCoordinate"> |
143 |
<xsl:text>East:  </xsl:text> |
|
144 |
<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> |
|
145 | 153 |
</xsl:template> |
146 | 154 |
|
147 | 155 |
<xsl:template match="northBoundingCoordinate"> |
148 |
<xsl:text>North:  </xsl:text> |
|
149 |
<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> |
|
150 | 163 |
</xsl:template> |
151 | 164 |
|
152 | 165 |
<xsl:template match="southBoundingCoordinate"> |
153 |
<xsl:text>South:  </xsl:text> |
|
154 |
<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> |
|
155 | 173 |
</xsl:template> |
156 | 174 |
|
157 | 175 |
|
158 | 176 |
<xsl:template match="boundingAltitudes"> |
177 |
|
|
159 | 178 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
160 |
Bounding Altitudes:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
179 |
Mimimum Altitude:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
161 | 180 |
<xsl:apply-templates select="altitudeMinimum"/></td></tr> |
162 | 181 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
163 |
 </td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
182 |
Maximum Altitude:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
164 | 183 |
<xsl:apply-templates select="altitudeMaximum"/></td></tr> |
184 |
|
|
165 | 185 |
</xsl:template> |
166 | 186 |
|
167 | 187 |
<xsl:template match="altitudeMinimum"> |
168 |
<xsl:text>Minimum:  </xsl:text> |
|
169 |
<xsl:value-of select="."/>  <xsl:value-of select="../altitudeUnits"/> |
|
188 |
<xsl:value-of select="."/>  <xsl:value-of select="../altitudeUnits"/> |
|
170 | 189 |
</xsl:template> |
171 | 190 |
|
172 | 191 |
<xsl:template match="altitudeMaximum"> |
173 |
<xsl:text>Maximum:  </xsl:text> |
|
174 | 192 |
<xsl:value-of select="."/>  <xsl:value-of select="../altitudeUnits"/> |
175 | 193 |
</xsl:template> |
176 | 194 |
|
177 | 195 |
<xsl:template match="datasetGPolygonOuterGRing"> |
178 |
<xsl:text>Outer Ring:  </xsl:text> |
|
179 |
<xsl:for-each select="gringpoint"> |
|
180 |
<xsl:apply-templates select="."/> |
|
181 |
</xsl:for-each> |
|
182 |
<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> |
|
183 | 204 |
</xsl:template> |
184 | 205 |
|
185 | 206 |
<xsl:template match="datasetGPolygonExclusionGRing"> |
186 |
<xsl:text>Exclusion Ring:  </xsl:text> |
|
187 |
<xsl:for-each select="gRingPoint"> |
|
188 |
<xsl:apply-templates select="."/> |
|
189 |
</xsl:for-each> |
|
190 |
<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> |
|
191 | 215 |
</xsl:template> |
192 | 216 |
|
193 | 217 |
<xsl:template match="gRing"> |
... | ... | |
234 | 258 |
</xsl:template> |
235 | 259 |
|
236 | 260 |
<xsl:template match="singleDateTime"> |
237 |
<xsl:call-template name="singleDateType" /> |
|
238 |
</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> |
|
239 | 269 |
|
240 | 270 |
<xsl:template match="rangeOfDates"> |
241 | 271 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
242 | 272 |
Begin: |
243 | 273 |
</td> |
244 | 274 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
245 |
<xsl:apply-templates select="beginDate"/>
|
|
246 |
</td> |
|
275 |
<xsl:apply-templates select="beginDate"/> |
|
276 |
</td>
|
|
247 | 277 |
</tr> |
248 | 278 |
|
249 | 279 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
... | ... | |
253 | 283 |
<xsl:apply-templates select="endDate"/> |
254 | 284 |
</td> |
255 | 285 |
</tr> |
256 |
|
|
257 |
|
|
258 | 286 |
</xsl:template> |
259 | 287 |
|
260 | 288 |
|
... | ... | |
267 | 295 |
</xsl:template> |
268 | 296 |
|
269 | 297 |
<xsl:template name="singleDateType"> |
270 |
<xsl:if test="calendarDate"> |
|
298 |
<table width="100%"> |
|
299 |
<xsl:if test="calendarDate"> |
|
271 | 300 |
<tr> |
272 |
<td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
273 |
Calendar Date:</td> |
|
274 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
301 |
<td width="100%" colspan="2" class="{$secondColStyle}"> |
|
275 | 302 |
<xsl:value-of select="calendarDate"/> |
276 | 303 |
<xsl:if test="./time and normalize-space(./time)!=''"> |
277 | 304 |
<xsl:text>  at  </xsl:text><xsl:apply-templates select="time"/> |
... | ... | |
280 | 307 |
</tr> |
281 | 308 |
</xsl:if> |
282 | 309 |
<xsl:if test="alternativeTimeScale"> |
283 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
284 |
Other Time Scale:</td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
285 |
<xsl:apply-templates select="alternativeTimeScale"/></td></tr> |
|
286 |
</xsl:if> |
|
310 |
<xsl:apply-templates select="alternativeTimeScale"/> |
|
311 |
</xsl:if> |
|
312 |
</table> |
|
287 | 313 |
</xsl:template> |
288 | 314 |
|
289 | 315 |
|
290 | 316 |
<xsl:template match="alternativeTimeScale"> |
291 |
<table width="100%"> |
|
317 |
|
|
292 | 318 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
293 |
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>
|
|
294 | 320 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
295 |
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)!=''"> |
|
296 | 323 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
297 |
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)!=''"> |
|
298 | 327 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
299 |
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)!=''"> |
|
300 | 331 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
301 |
citation:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
332 |
Citation:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
302 | 333 |
<xsl:apply-templates select="timeScaleCitation"/> |
303 | 334 |
</td></tr> |
304 |
</table> |
|
335 |
</xsl:if> |
|
336 |
|
|
305 | 337 |
</xsl:template> |
306 | 338 |
|
307 | 339 |
<xsl:template match="timeScaleCitation"> |
... | ... | |
340 | 372 |
<xsl:apply-templates select="."/> |
341 | 373 |
</xsl:for-each> |
342 | 374 |
</xsl:template> |
343 |
|
|
344 |
|
|
345 |
<xsl:template match="generalTaxonomicCoverage"> |
|
346 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
347 |
<xsl:text>General:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
348 |
<xsl:value-of select="."/></td></tr> |
|
349 |
</xsl:template> |
|
350 |
|
|
351 |
|
|
352 |
<xsl:template match="taxonomicSystem"> |
|
353 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
375 |
|
|
376 |
|
|
377 |
<xsl:template match="taxonomicSystem"> |
|
378 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
354 | 379 |
<xsl:text>Taxonomic System:</xsl:text></td> |
355 |
<td width="{$secondColWidth}" class="{$firstColStyle}"> </td></tr> |
|
356 |
<xsl:apply-templates select="./*"/> |
|
357 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
358 |
<xsl:text> </xsl:text></td><td width="{$secondColWidth}" class="{$firstColStyle}"> </td></tr> |
|
380 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
381 |
<table width="100%" class="tabledefault"> |
|
382 |
<xsl:apply-templates select="./*"/> |
|
383 |
</table> |
|
384 |
</td> |
|
385 |
</tr> |
|
359 | 386 |
</xsl:template> |
387 |
|
|
360 | 388 |
|
361 | 389 |
<xsl:template match="classificationSystem"> |
362 |
<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> |
|
363 | 402 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
364 |
<table width="100%"> |
|
365 |
<xsl:apply-templates select="classificationSystemCitaion"/> |
|
366 |
<xsl:apply-templates select="./classmod"/> |
|
367 |
</table> |
|
368 |
</td></tr> |
|
403 |
<xsl:apply-templates select="classificationSystemModifications"/> |
|
404 |
</td> |
|
405 |
</tr> |
|
406 |
</xsl:if> |
|
369 | 407 |
</xsl:template> |
370 | 408 |
|
371 |
<xsl:template match="classificationSystemCitation"> |
|
372 |
<xsl:call-template name="citation"> |
|
373 |
<xsl:with-param name="citationfirstColStyle" select="$firstColStyle"/> |
|
374 |
<xsl:with-param name="citationsubHeaderStyle" select="$subHeaderStyle"/> |
|
375 |
</xsl:call-template> |
|
376 |
</xsl:template> |
|
377 |
|
|
378 |
<xsl:template match="classificationSystemModifications"> |
|
379 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
380 |
<xsl:text>Modifications:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
381 |
<xsl:value-of select="."/></td></tr> |
|
382 |
</xsl:template> |
|
383 |
|
|
409 |
|
|
384 | 410 |
<xsl:template match="identificationReference"> |
385 | 411 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">ID Reference:</td> |
386 | 412 |
<td width="{$secondColWidth}" class="{$secondColStyle}">  |
... | ... | |
395 | 421 |
|
396 | 422 |
<xsl:template match="identifierName"> |
397 | 423 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">ID Name:</td> |
398 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
399 |
  |
|
400 |
</td></tr> |
|
401 |
<tr><td colspan="2"> |
|
402 |
<xsl:call-template name="party"> |
|
403 |
<xsl:with-param name="partyfirstColStyle" select="$firstColStyle"/> |
|
404 |
</xsl:call-template> |
|
405 |
</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> |
|
406 | 430 |
</xsl:template> |
407 | 431 |
|
408 | 432 |
<xsl:template match="taxonomicProcedures"> |
409 | 433 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
410 | 434 |
<xsl:text>Procedures:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
411 |
<xsl:apply-templates select="."/></td></tr>
|
|
435 |
<xsl:value-of select="."/></td></tr>
|
|
412 | 436 |
</xsl:template> |
413 | 437 |
|
414 | 438 |
<xsl:template match="taxonomicCompleteness"> |
415 | 439 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
416 | 440 |
<xsl:text>Completeness:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
417 |
<xsl:apply-templates select="."/></td></tr>
|
|
441 |
<xsl:value-of select="."/></td></tr>
|
|
418 | 442 |
</xsl:template> |
419 | 443 |
|
420 | 444 |
<xsl:template match="vouchers"> |
... | ... | |
434 | 458 |
</xsl:template> |
435 | 459 |
|
436 | 460 |
<xsl:template match="repository"> |
437 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Repository:</td>
|
|
461 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">Repository:</td> |
|
438 | 462 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
439 |
  |
|
440 |
</td></tr> |
|
441 |
<xsl:for-each select="originator"> |
|
442 |
<tr><td colspan="2"> |
|
443 |
<xsl:call-template name="party"> |
|
444 |
<xsl:with-param name="partyfirstColStyle" select="$firstColStyle"/> |
|
445 |
</xsl:call-template> |
|
446 |
</td></tr> |
|
447 |
</xsl:for-each> |
|
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> |
|
448 | 470 |
</xsl:template> |
449 | 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 |
|
|
450 | 483 |
<xsl:template match="taxonomicClassification"> |
451 | 484 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
452 | 485 |
<xsl:text>Classification:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
453 | 486 |
<table width="100%"> |
454 |
<xsl:apply-templates select="./*"/> |
|
487 |
<xsl:apply-templates select="./*" mode="nest"/>
|
|
455 | 488 |
</table> |
456 | 489 |
</td></tr> |
457 | 490 |
</xsl:template> |
458 | 491 |
|
459 |
<xsl:template match="taxonRankName"> |
|
460 |
<tr><td width="{$secondColIndent}" class="{$secondColStyle}">
|
|
492 |
<xsl:template match="taxonRankName" mode="nest" >
|
|
493 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
461 | 494 |
<xsl:text>Rank Name:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
462 | 495 |
<xsl:value-of select="."/></td></tr> |
463 | 496 |
</xsl:template> |
464 | 497 |
|
465 |
<xsl:template match="taxonRankValue"> |
|
466 |
<tr><td width="{$secondColIndent}" class="{$secondColStyle}">
|
|
498 |
<xsl:template match="taxonRankValue" mode="nest">
|
|
499 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}">
|
|
467 | 500 |
<xsl:text>Rank Value:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
468 | 501 |
<xsl:value-of select="."/></td></tr> |
469 | 502 |
</xsl:template> |
470 | 503 |
|
471 |
<xsl:template match="commonName"> |
|
472 |
<tr><td width="{$secondColIndent}" class="{$secondColStyle}"> |
|
473 |
<xsl:text>Common Name:</xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
474 |
<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}"> |
|
475 | 507 |
<xsl:value-of select="."/> |
476 |
</xsl:for-each></td></tr> |
|
508 |
</td> |
|
509 |
</tr> |
|
477 | 510 |
</xsl:template> |
478 | 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 class="tabledefault" width="100%"> |
|
518 |
<xsl:apply-templates select="./*" mode="nest"/> |
|
519 |
</table> |
|
520 |
</td> |
|
521 |
</tr> |
|
522 |
</xsl:template> |
|
479 | 523 |
|
480 | 524 |
</xsl:stylesheet> |
lib/style/eml2/eml-access-2.0.0.xsl | ||
---|---|---|
66 | 66 |
<xsl:with-param name="accesssubHeaderStyle" select="$accesssubHeaderStyle"/> |
67 | 67 |
</xsl:call-template> |
68 | 68 |
<tr><td class="{$accesssubHeaderStyle}" colspan="2"> |
69 |
<xsl:text>Rules:</xsl:text></td></tr> |
|
69 |
<xsl:text>Access Rules:</xsl:text></td></tr>
|
|
70 | 70 |
<xsl:if test="normalize-space(./@order)='allowFirst' and (allow)"> |
71 | 71 |
<tr><td width="{$firstColWidth}" class="{$accessfirstColStyle}"> </td> |
72 | 72 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> </td> |
lib/style/eml2/eml-2.0.0.xsl | ||
---|---|---|
144 | 144 |
<xsl:for-each select="protocol"> |
145 | 145 |
<xsl:call-template name="emlprotocol"/> |
146 | 146 |
</xsl:for-each> |
147 |
<!-- Additinal metadata--> |
|
148 |
<xsl:choose> |
|
149 |
<xsl:when test="displaymodule!='additionalmetadata'"> |
|
150 |
<xsl:for-each select="additionalMetadata"> |
|
151 |
<xsl:call-template name="additionalmetadataURL"> |
|
152 |
<xsl:with-param name="index" select="position()"/> |
|
153 |
</xsl:call-template> |
|
154 |
</xsl:for-each> |
|
155 |
</xsl:when> |
|
156 |
<xsl:otherwise> |
|
157 |
<xsl:for-each select="additionalMetadata"> |
|
158 |
<xsl:if test="$additionalmetadataindex=position()"> |
|
159 |
<xsl:call-template name="additionalmetadata"/> |
|
160 |
</xsl:if> |
|
161 |
</xsl:for-each> |
|
162 |
</xsl:otherwise> |
|
163 |
</xsl:choose> |
|
147 | 164 |
</xsl:template> |
148 | 165 |
|
149 | 166 |
<!--******************************************************** |
... | ... | |
415 | 432 |
|
416 | 433 |
<xsl:template name="choosephysical"> |
417 | 434 |
<xsl:for-each select="physical"> |
418 |
<xsl:test if="position()=$physicalindex">
|
|
435 |
<xsl:if test="position()=$physicalindex">-->
|
|
419 | 436 |
<xsl:choose> |
420 | 437 |
<xsl:when test="references!=''"> |
421 | 438 |
<xsl:variable name="ref_id" select="references"/> |
... | ... | |
428 | 445 |
<xsl:call-template name="choosedistribution"/> |
429 | 446 |
</xsl:otherwise> |
430 | 447 |
</xsl:choose> |
431 |
</xsl:test>
|
|
448 |
</xsl:if>
|
|
432 | 449 |
</xsl:for-each> |
433 | 450 |
</xsl:template> |
434 | 451 |
|
435 | 452 |
<xsl:template name="choosedistribution"> |
436 | 453 |
<xsl:for-each select="distribution"> |
437 |
<xsl:test if="position()=$distributionindex">
|
|
454 |
<xsl:if test="$distributionindex=position()">
|
|
438 | 455 |
<xsl:choose> |
439 | 456 |
<xsl:when test="references!=''"> |
440 | 457 |
<xsl:variable name="ref_id" select="references"/> |
... | ... | |
451 | 468 |
</xsl:for-each> |
452 | 469 |
</xsl:otherwise> |
453 | 470 |
</xsl:choose> |
454 |
</xsl:test>
|
|
471 |
</xsl:if>
|
|
455 | 472 |
</xsl:for-each> |
456 | 473 |
</xsl:template> |
457 | 474 |
|
... | ... | |
537 | 554 |
</tr> |
538 | 555 |
</table> |
539 | 556 |
</xsl:template> |
557 |
|
|
558 |
<!--******************************************************** |
|
559 |
additionalmetadata part |
|
560 |
********************************************************--> |
|
561 |
<xsl:template name="additionalmetadataURL"> |
|
562 |
<xsl:param name="index"/> |
|
563 |
<table class="default" width="100%"> |
|
564 |
<tr><td width="100%" class="{$subHeaderStyle}"> |
|
565 |
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI"/><xsl:value-of select="$docid"/>&displaymodule=additionalmetadata&additionalmetadataindex=<xsl:value-of select="$index"/></xsl:attribute> |
|
566 |
<b>Additional Metadata</b></a> |
|
567 |
</td> |
|
568 |
</tr> |
|
569 |
</table> |
|
570 |
</xsl:template> |
|
540 | 571 |
|
541 | 572 |
</xsl:stylesheet> |
Also available in: Unified diff
Revise some templates.