1
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
<xsl:stylesheet version="1.0"
|
3
|
xmlns:gco="http://www.isotc211.org/2005/gco"
|
4
|
xmlns:gmd="http://www.isotc211.org/2005/gmd"
|
5
|
xmlns:gfc="http://www.isotc211.org/2005/gfc"
|
6
|
xmlns:gmx="http://www.isotc211.org/2005/gmx"
|
7
|
xmlns:gts="http://www.isotc211.org/2005/gts"
|
8
|
|
9
|
xmlns:gml="http://www.opengis.net/gml"
|
10
|
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
|
11
|
|
12
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
13
|
|
14
|
xmlns:geonet="http://www.fao.org/geonetwork"
|
15
|
|
16
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
17
|
|
18
|
<xsl:output version="4.01" omit-xml-declaration="yes" method="html" encoding="UTF-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd" indent="yes"/>
|
19
|
<xsl:variable name="fileMapping" select="document('./transformation_fr.xsl')"/>
|
20
|
<xsl:template match='/'>
|
21
|
<html><head>
|
22
|
<style type="text/css" media="all" >
|
23
|
/** {font: normal 1em verdana, arial, sans-serif; color:#000; vertical-align: top; text-align: center;}*/
|
24
|
#page {width: 780px; text-align: center; margin: auto; font: normal 0.93em verdana, arial, sans-serif; color:#000; vertical-align: top; }
|
25
|
#page .type {page-break-before: always; text-align: right; font: bold 0.8em verdana, arial, sans-serif; margin-top: 10px;}
|
26
|
#page .t {font: bold 2em verdana, arial, sans-serif; text-align:center; line-height:1.8em; border: 1px solid #000000; background-color: #a6bddb;}
|
27
|
|
28
|
|
29
|
#page table {border-spacing: 0px; width: 100%}
|
30
|
#page th, td {padding: 5px 30px 5px 10px;border-spacing: 0px;font-size: 90%;margin: 0px;}
|
31
|
#page th, td {color: #737476;text-align: left;background-color: #e0e9f0;border-top: 1px solid #f1f8fe;border-bottom: 1px solid #cbd2d8; border-right: 1px solid #cbd2d8;}
|
32
|
#page tr.head th {color: #fff;background-color: #90b4d6; border-bottom: 2px solid #547ca0;border-right: 1px solid #749abe;border-top: 1px solid #90b4d6;text-align: left;text-shadow: -1px -1px 1px #666; letter-spacing: 0.15em;}
|
33
|
#page tr.head th:first-child {-webkit-border-top-left-radius: 5px;-moz-border-radius-topleft: 5px;border-top-left-radius: 5px;}
|
34
|
#page tr.head th:last-child {-webkit-border-top-right-radius: 5px;-moz-border-radius-topright: 5px;border-top-right-radius: 5px;}
|
35
|
#page tr.headTitle th {font-size: 150%; color: #fff;background-color: #00b4FF; border-bottom: 2px solid #547ca0;border-right: 1px solid #749abe;border-top: 1px solid #90b4d6;text-align: center;text-shadow: -1px -1px 1px #666;letter-spacing: 0.15em; }
|
36
|
#page tr.headTitle th:first-child {-webkit-border-top-left-radius: 10px;-moz-border-radius-topleft: 10px;border-top-left-radius: 10px; -webkit-border-bottom-left-radius: 10px;-moz-border-radius-bottomleft: 10px;border-bottom-left-radius: 10px;}
|
37
|
#page tr.headTitle th:last-child {-webkit-border-top-right-radius: 10px;-moz-border-radius-topright: 10px;border-top-right-radius: 10px; -webkit-border-bottom-right-radius: 10px;-moz-border-radius-bottomright: 10px;border-bottom-right-radius: 10px;}
|
38
|
#page td {text-shadow: 1px 1px 1px #fff;}
|
39
|
#page tr.even td, tr.even th { background-color: #e8eff5;}
|
40
|
|
41
|
|
42
|
#page .partie {font-weight: bold; border: 0px solid #000000; background-color: #a6bddb; }
|
43
|
#page .partietd {font-weight: bold; border: 0px solid #000000; background-color: #a6bddb; text-align: center;}
|
44
|
#page .td1 {width: 130px; vertical-align: top;}
|
45
|
#page .titre {font-weight: bold; text-align: center;}
|
46
|
#page .td2 { text-align: justify; white-space : pre-wrap; }
|
47
|
#page .td2c { text-align: justify; white-space : pre-wrap; text-align: center; }
|
48
|
#page .td2left { text-align: left;}
|
49
|
#page .ul1 {list-style-type:none; margin-top:0px; margin-bottom:0px; padding: 0px;}
|
50
|
#page .ul2 {margin-top:0px; margin-bottom:0px; padding: 10px;}
|
51
|
#page .li1 {margin-top:0px; }
|
52
|
#page .tb_cnt {background:#fff; border: 1px solid #000000; font:1.2em verdana, arial, sans-serif; border-collapse:collapse; margin: 5px; width: 98%;}
|
53
|
#page .td1_cnt {width: 400px; border: 1px solid #000000;}
|
54
|
#page .td2_cnt {width: 200px;; border: 1px solid #000000;}
|
55
|
#page .note {font-size: 0.7em; font-style: italic; text-align: right; margin-bottom: 30px;}
|
56
|
#page .retour {padding: 5px 5px 10px 5px; text-align: left; text-decoration: none;}
|
57
|
</style>
|
58
|
</head>
|
59
|
<body>
|
60
|
<div id="page">
|
61
|
<xsl:apply-templates/>
|
62
|
</div>
|
63
|
</body>
|
64
|
</html>
|
65
|
</xsl:template >
|
66
|
|
67
|
<xsl:template match="gmd:MD_Metadata">
|
68
|
<table>
|
69
|
<tr class="headTitle"><th>Fiche de m?tadonn?es</th></tr>
|
70
|
</table>
|
71
|
<br/>
|
72
|
Fiche g?n?r?e le
|
73
|
<xsl:if test="gmd:dateStamp/gco:Date">
|
74
|
<xsl:call-template name="date">
|
75
|
<xsl:with-param name="ladate" select="gmd:dateStamp/gco:Date"/>
|
76
|
</xsl:call-template>
|
77
|
</xsl:if>
|
78
|
<xsl:if test="gmd:dateStamp/gco:DateTime">
|
79
|
<xsl:value-of select="gmd:dateStamp/gco:DateTime"/>
|
80
|
</xsl:if>
|
81
|
<br/><br/>
|
82
|
<table>
|
83
|
<tr class="headTitle"><th>Fiche de m?tadonn?es</th></tr>
|
84
|
</table>
|
85
|
<br/>
|
86
|
|
87
|
<table>
|
88
|
<tr class="head"><th colspan="2">Identification du lot de donn?es</th></tr>
|
89
|
<tr>
|
90
|
<td class="td1">Identifiant unique :</td>
|
91
|
<td class="td2"> <xsl:value-of select="gmd:fileIdentifier/gco:CharacterString"/> </td>
|
92
|
</tr>
|
93
|
<tr>
|
94
|
<td class="td1">Titre :</td>
|
95
|
<td class="titre td2"> <xsl:value-of select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString"/> </td>
|
96
|
</tr>
|
97
|
<tr>
|
98
|
<td class="td1">Type :</td>
|
99
|
<td class="titre td2">
|
100
|
<xsl:variable name="MyType">
|
101
|
<xsl:value-of select="gmd:dataQualityInfo/gmd:DQ_DataQuality/gmd:scope/gmd:DQ_Scope/gmd:level/gmd:MD_ScopeCode"/>
|
102
|
</xsl:variable>
|
103
|
<xsl:if test="contains($MyType, 'dataset')">Jeu de donn?es</xsl:if>
|
104
|
<xsl:if test="contains($MyType, 'series')">Ensemble de jeux de donn?es</xsl:if>
|
105
|
<xsl:if test="contains($MyType, 'service')">Service</xsl:if>
|
106
|
</td>
|
107
|
</tr>
|
108
|
<tr>
|
109
|
<td class="td1">R?sum? :</td>
|
110
|
<td class="td2">
|
111
|
<xsl:value-of select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:abstract/gco:CharacterString"/>
|
112
|
</td>
|
113
|
</tr>
|
114
|
<tr>
|
115
|
<td class="td1">URL :</td>
|
116
|
<td>
|
117
|
<ul class="ul1">
|
118
|
<xsl:for-each select="gmd:distributionInfo/gmd:MD_Distribution/gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:onLine">
|
119
|
<li class="li1">
|
120
|
- <xsl:value-of select="gmd:CI_OnlineResource/gmd:name/gco:CharacterString"/> :<br/>
|
121
|
<a>
|
122
|
<xsl:attribute name="href">
|
123
|
<xsl:value-of select="gmd:CI_OnlineResource/gmd:linkage/gmd:URL"/>
|
124
|
</xsl:attribute>
|
125
|
<xsl:value-of select="gmd:CI_OnlineResource/gmd:linkage/gmd:URL"/>
|
126
|
</a>
|
127
|
<br/><br/>
|
128
|
</li>
|
129
|
</xsl:for-each>
|
130
|
</ul>
|
131
|
</td>
|
132
|
</tr>
|
133
|
</table>
|
134
|
|
135
|
<br/>
|
136
|
|
137
|
<table>
|
138
|
<tr class="head"><th colspan="2">Classification et mots cl?s</th></tr>
|
139
|
<tr>
|
140
|
<td class="td1">Mot(s) cl?(s) INSPIRE :</td>
|
141
|
<td>
|
142
|
<ul class="ul1">
|
143
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:descriptiveKeywords/gmd:MD_Keywords[gmd:thesaurusName/gmd:CI_Citation/gmd:title/gco:CharacterString='GEMET - INSPIRE Themes']">
|
144
|
<li class="li1"> <xsl:value-of select="gmd:thesaurusName/gmd:CI_Citation/gmd:title/gco:CharacterString"/> :
|
145
|
<xsl:value-of select="gmd:keyword/gco:CharacterString"/> </li>
|
146
|
</xsl:for-each>
|
147
|
</ul>
|
148
|
</td>
|
149
|
</tr>
|
150
|
<tr>
|
151
|
<td class="td1">Mot(s) cl?(s) compl?mentaires :</td>
|
152
|
<td>
|
153
|
<ul class="ul1">
|
154
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:descriptiveKeywords/gmd:MD_Keywords[not (gmd:thesaurusName/gmd:CI_Citation/gmd:title/gco:CharacterString='GEMET - INSPIRE Themes')]">
|
155
|
<li class="li1"> - <b><xsl:value-of select="gmd:keyword/gco:CharacterString"/></b></li>
|
156
|
<xsl:if test="gmd:thesaurusName/gmd:CI_Citation/gmd:title/gco:CharacterString">
|
157
|
[<u>vocabulaire contr?l?</u> : <i><xsl:value-of select="gmd:thesaurusName/gmd:CI_Citation/gmd:title/gco:CharacterString"/></i> -
|
158
|
<u>date</u> : <i><xsl:value-of select="gmd:thesaurusName/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date/gco:Date"/></i> -
|
159
|
<u>type de date</u> : <i><xsl:value-of select="gmd:thesaurusName/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:dateType/gmd:CI_DateTypeCode"/></i>]
|
160
|
</xsl:if>
|
161
|
</xsl:for-each>
|
162
|
</ul>
|
163
|
</td>
|
164
|
</tr>
|
165
|
</table>
|
166
|
|
167
|
<br/>
|
168
|
|
169
|
<table>
|
170
|
<tr class="head"><th colspan="2">El?ments de langage</th></tr>
|
171
|
<tr>
|
172
|
<td class="td1">Langue(s) :</td>
|
173
|
<td>
|
174
|
<ul class="ul1">
|
175
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:language">
|
176
|
<li class="li1"> - <xsl:value-of select="gmd:LanguageCode/@codeListValue"/></li>
|
177
|
</xsl:for-each>
|
178
|
</ul>
|
179
|
</td>
|
180
|
</tr>
|
181
|
<tr>
|
182
|
<td class="td1">Encodage des JDD :</td>
|
183
|
<td class="td1">
|
184
|
<xsl:value-of select="gmd:characterSet/gmd:MD_CharacterSetCode/@codeListValue"/>
|
185
|
</td>
|
186
|
</tr>
|
187
|
</table>
|
188
|
|
189
|
<br/>
|
190
|
|
191
|
<table>
|
192
|
<tr class="head"><th colspan="4">Emprise(s) :</th></tr>
|
193
|
<tr>
|
194
|
<td class="partietd">X min :</td>
|
195
|
<td class="partietd">X max :</td>
|
196
|
<td class="partietd">Y min :</td>
|
197
|
<td class="partietd">Y max :</td>
|
198
|
</tr>
|
199
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:extent/gmd:EX_Extent/gmd:geographicElement/gmd:EX_GeographicBoundingBox">
|
200
|
<tr>
|
201
|
<td class="td2c"><xsl:value-of select="gmd:westBoundLongitude/gco:Decimal"/></td>
|
202
|
<td class="td2c"><xsl:value-of select="gmd:eastBoundLongitude/gco:Decimal"/></td>
|
203
|
<td class="td2c"><xsl:value-of select="gmd:southBoundLatitude/gco:Decimal"/></td>
|
204
|
<td class="td2c"><xsl:value-of select="gmd:northBoundLatitude/gco:Decimal"/></td>
|
205
|
</tr>
|
206
|
</xsl:for-each>
|
207
|
</table>
|
208
|
|
209
|
<br/>
|
210
|
|
211
|
<table>
|
212
|
<tr class="head"><th colspan="2">Qualit?, validit? et conformit?</th></tr>
|
213
|
<tr>
|
214
|
<td class="td1">G?n?alogie : </td>
|
215
|
<td class="td2">
|
216
|
<xsl:if test="gmd:dataQualityInfo/gmd:DQ_DataQuality/gmd:lineage/gmd:LI_Lineage/gmd:statement/gco:CharacterString">
|
217
|
<xsl:value-of select="gmd:dataQualityInfo/gmd:DQ_DataQuality/gmd:lineage/gmd:LI_Lineage/gmd:statement/gco:CharacterString"/>
|
218
|
</xsl:if>
|
219
|
</td>
|
220
|
</tr>
|
221
|
|
222
|
<xsl:if test="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:equivalentScale">
|
223
|
<tr>
|
224
|
<td class="td1">R?solution(s) spatiale(s) : </td>
|
225
|
<td class="td1">
|
226
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:equivalentScale">
|
227
|
1/<xsl:value-of select="gmd:MD_RepresentativeFraction/gmd:denominator/gco:Integer"/> ;
|
228
|
</xsl:for-each>
|
229
|
</td>
|
230
|
</tr>
|
231
|
</xsl:if>
|
232
|
|
233
|
<xsl:if test="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance">
|
234
|
<tr>
|
235
|
<td class="td1">R?solution(s) spatiale(s) - ?chelle(s) ?quivalente(s) en unit? de mesure : </td>
|
236
|
<td class="td1">
|
237
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:spatialResolution/gmd:MD_Resolution/gmd:distance">
|
238
|
<xsl:value-of select="gco:Distance"/> <xsl:value-of select="gco:Distance/@uom"/>;
|
239
|
</xsl:for-each>
|
240
|
</td>
|
241
|
</tr>
|
242
|
</xsl:if>
|
243
|
|
244
|
<tr valign="top">
|
245
|
<td class="td1">Syst?me(s) de coordonn?es de r?f?rence :</td>
|
246
|
<td>
|
247
|
<ul class="ul1">
|
248
|
<xsl:for-each select="gmd:referenceSystemInfo/gmd:MD_ReferenceSystem/gmd:referenceSystemIdentifier">
|
249
|
<xsl:if test="gmd:RS_Identifier/gmd:code/gco:CharacterString">
|
250
|
<li class="li1"> - EPSG : <xsl:value-of select="gmd:RS_Identifier/gmd:code/gco:CharacterString"/></li>
|
251
|
</xsl:if>
|
252
|
<xsl:if test="gmd:RS_Identifier/gmd:code/gmx:Anchor">
|
253
|
<li class="li1"> - IGN : <xsl:value-of select="gmd:RS_Identifier/gmd:code/gmx:Anchor"/></li>
|
254
|
</xsl:if>
|
255
|
</xsl:for-each>
|
256
|
</ul>
|
257
|
</td>
|
258
|
</tr>
|
259
|
|
260
|
<xsl:if test="gmd:spatialRepresentationInfo">
|
261
|
<tr>
|
262
|
<td class="td1">Coh?rence topologique :</td>
|
263
|
<td>
|
264
|
<ul class="ul1">
|
265
|
<li class="li1"><u>TopologyLevelCode</u> : <xsl:value-of select="gmd:spatialRepresentationInfo/gmd:MD_VectorSpatialRepresentation/gmd:topologyLevel/gmd:MD_TopologyLevelCode/@codeListValue"/></li>
|
266
|
<xsl:if test="gmd:spatialRepresentationInfo/gmd:MD_VectorSpatialRepresentation/gmd:geometricObjects/gmd:MD_GeometricObjects/gmd:geometricObjectType/gmd:MD_GeometricObjectTypeCode">
|
267
|
<li class="li1"><u>GeometricObjectTypeCode</u> : <xsl:value-of select="gmd:spatialRepresentationInfo/gmd:MD_VectorSpatialRepresentation/gmd:geometricObjects/gmd:MD_GeometricObjects/gmd:geometricObjectType/gmd:MD_GeometricObjectTypeCode/@codeListValue"/></li>
|
268
|
</xsl:if>
|
269
|
</ul>
|
270
|
</td>
|
271
|
</tr>
|
272
|
</xsl:if>
|
273
|
|
274
|
<tr>
|
275
|
<td class="td1">Sp?cification(s) de conformit? :</td>
|
276
|
<td>
|
277
|
<ul class="ul1">
|
278
|
<xsl:for-each select="gmd:dataQualityInfo/gmd:DQ_DataQuality/gmd:report/gmd:DQ_DomainConsistency">
|
279
|
<li class="li1">
|
280
|
- <xsl:value-of select="gmd:result/gmd:DQ_ConformanceResult/gmd:specification/gmd:CI_Citation/gmd:title/gco:CharacterString"/> du
|
281
|
<xsl:call-template name="date">
|
282
|
<xsl:with-param name="ladate" select="gmd:result/gmd:DQ_ConformanceResult/gmd:specification/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date/gco:Date"/>
|
283
|
</xsl:call-template>
|
284
|
- <i>date de <xsl:value-of select="gmd:result/gmd:DQ_ConformanceResult/gmd:specification/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:dateType/gmd:CI_DateTypeCode"/></i>
|
285
|
[<b><xsl:choose>
|
286
|
<xsl:when test="gmd:result/gmd:DQ_ConformanceResult/gmd:pass/gco:Boolean">
|
287
|
<xsl:if test="gmd:result/gmd:DQ_ConformanceResult/gmd:pass/gco:Boolean='false'">Non Conforme</xsl:if>
|
288
|
<xsl:if test="gmd:result/gmd:DQ_ConformanceResult/gmd:pass/gco:Boolean='true'">Conforme</xsl:if>
|
289
|
</xsl:when>
|
290
|
<xsl:otherwise>Non ?valu?</xsl:otherwise>
|
291
|
</xsl:choose></b>]
|
292
|
</li>
|
293
|
</xsl:for-each>
|
294
|
</ul>
|
295
|
</td>
|
296
|
</tr>
|
297
|
|
298
|
<tr>
|
299
|
<td class="td1">Format(s) de distribution :</td>
|
300
|
<td>
|
301
|
<ul class="ul1">
|
302
|
<xsl:for-each select="gmd:distributionInfo/gmd:MD_Distribution/gmd:distributionFormat/gmd:MD_Format">
|
303
|
<li class="li1"> - <xsl:value-of select="gmd:name/gco:CharacterString"/>
|
304
|
<xsl:if test="gmd:version/gco:CharacterString and gmd:version/gco:CharacterString!=''">
|
305
|
(version : <xsl:value-of select="gmd:version/gco:CharacterString"/>)
|
306
|
</xsl:if>
|
307
|
<xsl:if test="gmd:version/gco:CharacterString and gmd:version/gco:CharacterString=''">
|
308
|
(version inconnue)</xsl:if>
|
309
|
</li>
|
310
|
</xsl:for-each>
|
311
|
</ul>
|
312
|
</td>
|
313
|
</tr>
|
314
|
</table>
|
315
|
|
316
|
<br/>
|
317
|
|
318
|
<table>
|
319
|
<tr class="head"><th colspan="2">R?f?rence(s) temporelle(s)</th></tr>
|
320
|
<tr valign="top">
|
321
|
<td class="td1">Etendue(s) temporelle(s) :</td>
|
322
|
<td class="td2left">
|
323
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:extent/gmd:EX_Extent/gmd:temporalElement/gmd:EX_TemporalExtent/gmd:extent/gml:TimePeriod">
|
324
|
du <xsl:call-template name="date">
|
325
|
<xsl:with-param name="ladate" select="gml:beginPosition"/>
|
326
|
</xsl:call-template> au <xsl:call-template name="date">
|
327
|
<xsl:with-param name="ladate" select="gml:endPosition"/>
|
328
|
</xsl:call-template><br/>
|
329
|
</xsl:for-each>
|
330
|
</td>
|
331
|
</tr>
|
332
|
<tr>
|
333
|
<td class="td1">Date cr?ation :</td>
|
334
|
<td class="td2">
|
335
|
<xsl:if test="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode='creation']/gmd:date/gco:Date">
|
336
|
<xsl:call-template name="date">
|
337
|
<xsl:with-param name="ladate" select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode='creation']/gmd:date/gco:Date"/>
|
338
|
</xsl:call-template>
|
339
|
</xsl:if>
|
340
|
<xsl:if test="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode='cr?ation']/gmd:date/gco:Date">
|
341
|
<xsl:call-template name="date">
|
342
|
<xsl:with-param name="ladate" select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode='cr?ation']/gmd:date/gco:Date"/>
|
343
|
</xsl:call-template>
|
344
|
</xsl:if>
|
345
|
</td>
|
346
|
</tr>
|
347
|
<tr>
|
348
|
<td class="td1">Date de r?vision :</td>
|
349
|
<td class="td2">
|
350
|
<xsl:if test="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode='revision']/gmd:date/gco:Date">
|
351
|
<xsl:call-template name="date">
|
352
|
<xsl:with-param name="ladate" select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode='revision']/gmd:date/gco:Date"/>
|
353
|
</xsl:call-template>
|
354
|
</xsl:if>
|
355
|
<xsl:if test="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode='r?vision']/gmd:date/gco:Date">
|
356
|
<xsl:call-template name="date">
|
357
|
<xsl:with-param name="ladate" select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode='r?vision']/gmd:date/gco:Date"/>
|
358
|
</xsl:call-template>
|
359
|
</xsl:if>
|
360
|
</td>
|
361
|
</tr>
|
362
|
<tr valign="top">
|
363
|
<td class="td1">Date publication :</td>
|
364
|
<td class="td2left">
|
365
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode='publication']/gmd:date">
|
366
|
<xsl:call-template name="date">
|
367
|
<xsl:with-param name="ladate" select="gco:Date"/>
|
368
|
</xsl:call-template><br/>
|
369
|
</xsl:for-each>
|
370
|
</td>
|
371
|
</tr>
|
372
|
</table>
|
373
|
|
374
|
<br/>
|
375
|
|
376
|
<table>
|
377
|
<tr class="head"><th colspan="2">Droits et usages</th></tr>
|
378
|
<tr>
|
379
|
<td class="td1">Licence :</td>
|
380
|
<td class="td2"><xsl:value-of select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:useLimitation/gco:CharacterString"/></td>
|
381
|
</tr>
|
382
|
|
383
|
<xsl:if test="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:accessConstraints">
|
384
|
<tr>
|
385
|
<td class="td1">Restrictions pour l'acc?s aux donn?es :</td>
|
386
|
<td class="td2">
|
387
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:accessConstraints">
|
388
|
<xsl:value-of select="gmd:MD_RestrictionCode"/>
|
389
|
</xsl:for-each>
|
390
|
</td>
|
391
|
</tr>
|
392
|
</xsl:if>
|
393
|
|
394
|
<xsl:if test="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:otherConstraints">
|
395
|
<tr>
|
396
|
<td class="td1">Autres contraintes :</td>
|
397
|
<td class="td2">
|
398
|
<ul class="ul1">
|
399
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:otherConstraints">
|
400
|
<li class="li1"> - <xsl:value-of select="gco:CharacterString"/></li>
|
401
|
</xsl:for-each>
|
402
|
</ul>
|
403
|
</td>
|
404
|
</tr>
|
405
|
</xsl:if>
|
406
|
|
407
|
</table>
|
408
|
|
409
|
<br/>
|
410
|
|
411
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:pointOfContact/gmd:CI_ResponsibleParty">
|
412
|
<xsl:variable name="MyType"><xsl:value-of select="gmd:role/gmd:CI_RoleCode"/></xsl:variable>
|
413
|
<xsl:if test="$MyType='owner'">
|
414
|
<table>
|
415
|
<tr class="head"><th colspan="2">Propri?taire</th></tr>
|
416
|
<tr>
|
417
|
<td class="td1">Organisation :</td>
|
418
|
<td class="titre td2"> <xsl:value-of select="gmd:organisationName/gco:CharacterString"/> </td>
|
419
|
</tr>
|
420
|
<tr>
|
421
|
<td class="td1">Adresse :</td>
|
422
|
<td class="td2"> <xsl:value-of select="gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:deliveryPoint/gco:CharacterString"/> <br />
|
423
|
<xsl:value-of select="gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:postalCode/gco:CharacterString"/> <br />
|
424
|
<xsl:value-of select="gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:city/gco:CharacterString"/> </td>
|
425
|
</tr>
|
426
|
<tr>
|
427
|
<td class="td1">Email :</td>
|
428
|
<td>
|
429
|
<a>
|
430
|
<xsl:attribute name="href">
|
431
|
<xsl:text>mailto:</xsl:text>
|
432
|
<xsl:value-of select="gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
433
|
</xsl:attribute>
|
434
|
<xsl:value-of select="gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
435
|
</a>
|
436
|
</td>
|
437
|
</tr>
|
438
|
</table>
|
439
|
</xsl:if>
|
440
|
</xsl:for-each>
|
441
|
|
442
|
|
443
|
<br/>
|
444
|
|
445
|
<table>
|
446
|
<tr class="head"><th colspan="2">Point de contact</th></tr>
|
447
|
<tr>
|
448
|
<td class="td1">Organisation :</td>
|
449
|
<td class="titre td2"> <xsl:value-of select="gmd:contact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"/> </td>
|
450
|
</tr>
|
451
|
<tr>
|
452
|
<td class="td1">Adresse :</td>
|
453
|
<td class="td2">
|
454
|
<xsl:value-of select="gmd:contact/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:deliveryPoint/gco:CharacterString"/> <br />
|
455
|
<xsl:value-of select="gmd:contact/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:postalCode/gco:CharacterString"/> <br />
|
456
|
<xsl:value-of select="gmd:contact/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:city/gco:CharacterString"/> </td>
|
457
|
</tr>
|
458
|
<tr>
|
459
|
<td class="td1">Email :</td>
|
460
|
<td>
|
461
|
<a>
|
462
|
<xsl:attribute name="href">
|
463
|
<xsl:text>mailto:</xsl:text>
|
464
|
<xsl:value-of select="gmd:contact/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
465
|
</xsl:attribute>
|
466
|
<xsl:value-of select="gmd:contact/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
467
|
</a>
|
468
|
</td>
|
469
|
</tr>
|
470
|
</table>
|
471
|
|
472
|
<br/>
|
473
|
|
474
|
<table>
|
475
|
<tr class="head"><th colspan="2">Autre(s) acteur(s)</th></tr>
|
476
|
<xsl:for-each select="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:pointOfContact">
|
477
|
<xsl:variable name="MyType">
|
478
|
<xsl:value-of select="gmd:CI_ResponsibleParty/gmd:role/gmd:CI_RoleCode"/>
|
479
|
</xsl:variable>
|
480
|
<xsl:if test="$MyType!='owner' and $MyType!='pointOfContact'">
|
481
|
<tr>
|
482
|
<td class="td1">Organisation :</td>
|
483
|
<td class="titre td2"><xsl:value-of select="gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"/></td>
|
484
|
</tr>
|
485
|
<tr>
|
486
|
<td class="td1">R?le :</td>
|
487
|
<td class="titre td2">
|
488
|
<xsl:if test="$MyType='resourceProvider'">Fournisseur de la ressource</xsl:if>
|
489
|
<xsl:if test="$MyType='custodian'">Gestionnaire</xsl:if>
|
490
|
<xsl:if test="$MyType='user'">Utilisateur</xsl:if>
|
491
|
<xsl:if test="$MyType='distributor'">Distributeur</xsl:if>
|
492
|
<xsl:if test="$MyType='originator'">Commanditaire</xsl:if>
|
493
|
<xsl:if test="$MyType='principalInvestigator'">Ma?tre d'oeuvre</xsl:if>
|
494
|
<xsl:if test="$MyType='processor'">Int?grateur</xsl:if>
|
495
|
<xsl:if test="$MyType='publisher'">?diteur</xsl:if>
|
496
|
<xsl:if test="$MyType='author'">Auteur</xsl:if>
|
497
|
</td>
|
498
|
</tr>
|
499
|
<tr>
|
500
|
<td class="td1">Adresse :</td>
|
501
|
<td class="td2">
|
502
|
<xsl:value-of select="gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:deliveryPoint/gco:CharacterString"/> <br />
|
503
|
<xsl:value-of select="gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:postalCode/gco:CharacterString"/> <br />
|
504
|
<xsl:value-of select="gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:city/gco:CharacterString"/> </td>
|
505
|
</tr>
|
506
|
<tr>
|
507
|
<td class="td1">Email :</td>
|
508
|
<td>
|
509
|
<a>
|
510
|
<xsl:attribute name="href">
|
511
|
<xsl:text>mailto:</xsl:text>
|
512
|
<xsl:value-of select="gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
513
|
</xsl:attribute>
|
514
|
<xsl:value-of select="gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
515
|
</a>
|
516
|
</td>
|
517
|
</tr>
|
518
|
</xsl:if>
|
519
|
<tr><td colspan="2" class="td1"></td></tr>
|
520
|
</xsl:for-each>
|
521
|
</table>
|
522
|
<br/>
|
523
|
</xsl:template>
|
524
|
|
525
|
<xsl:template name="date">
|
526
|
<xsl:param name="ladate"/>
|
527
|
<xsl:value-of select="substring($ladate,9,2)"/>/<xsl:value-of select="substring($ladate,6,2)"/>/<xsl:value-of select="substring($ladate,1,4)"/>
|
528
|
</xsl:template>
|
529
|
|
530
|
<xsl:template match="gfc:FC_FeatureCatalogue">
|
531
|
<table>
|
532
|
<tr class="headTitle"><th>Dictionnaire des donn?es</th></tr>
|
533
|
</table>
|
534
|
<br/>
|
535
|
<table>
|
536
|
<tr class="head"><th colspan="2">Point de contact</th></tr>
|
537
|
<tr>
|
538
|
<td class="td1">Organisation :</td>
|
539
|
<td class="titre td2"> <xsl:value-of select="gfc:producer/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"/></td>
|
540
|
</tr>
|
541
|
<tr>
|
542
|
<td class="td1">Adresse :</td>
|
543
|
<td class="td2">
|
544
|
<xsl:value-of select="gfc:producer/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:deliveryPoint/gco:CharacterString"/><br/>
|
545
|
<xsl:value-of select="gfc:producer/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:postalCode/gco:CharacterString"/><br/>
|
546
|
<xsl:value-of select="gfc:producer/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:city/gco:CharacterString"/></td>
|
547
|
</tr>
|
548
|
<tr>
|
549
|
<td class="td1">Email :</td>
|
550
|
<td>
|
551
|
<a>
|
552
|
<xsl:attribute name="href">
|
553
|
<xsl:text>mailto:</xsl:text>
|
554
|
<xsl:value-of select="gfc:producer/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
555
|
</xsl:attribute>
|
556
|
<xsl:value-of select="gfc:producer/gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
557
|
</a>
|
558
|
</td>
|
559
|
</tr>
|
560
|
</table>
|
561
|
|
562
|
<br/>
|
563
|
|
564
|
<table>
|
565
|
<tr class="head"><th colspan="2">Informations diverses</th></tr>
|
566
|
<tr valign="top">
|
567
|
<td class="td1">Intitul? :</td>
|
568
|
<td class="td2"><xsl:value-of select="gfc:name/gco:CharacterString"/>
|
569
|
</td>
|
570
|
</tr>
|
571
|
<tr>
|
572
|
<td class="td1">Nom de la couche :</td>
|
573
|
<td class="td2">
|
574
|
<xsl:value-of select="gfc:scope/gco:CharacterString"/>
|
575
|
</td>
|
576
|
</tr>
|
577
|
<tr>
|
578
|
<td class="td1">Num?ro de version :</td>
|
579
|
<td class="td2">
|
580
|
<xsl:value-of select="gfc:versionNumber/gco:CharacterString"/>
|
581
|
</td>
|
582
|
</tr>
|
583
|
<tr>
|
584
|
<td class="td1">Date de version :</td>
|
585
|
<td class="td2">
|
586
|
<xsl:call-template name="date">
|
587
|
<xsl:with-param name="ladate" select="gfc:versionDate/gco:Date"/>
|
588
|
</xsl:call-template>
|
589
|
</td>
|
590
|
</tr>
|
591
|
</table>
|
592
|
|
593
|
<br/>
|
594
|
|
595
|
<table>
|
596
|
<tr class="head"><th colspan="2">Catalogue d'attributs :</th></tr>
|
597
|
<xsl:for-each select="gfc:featureType/gfc:FC_FeatureType/gfc:carrierOfCharacteristics/gfc:FC_FeatureAttribute">
|
598
|
<tr valign="top">
|
599
|
<td class="td1"><xsl:value-of select="gfc:memberName/gco:LocalName"/></td>
|
600
|
<td class="td2"><xsl:value-of select="gfc:valueType/gco:TypeName/gco:aName/gco:CharacterString"/><br/>[<i><xsl:value-of select="gfc:definition/gco:CharacterString"/></i>]
|
601
|
</td>
|
602
|
</tr>
|
603
|
</xsl:for-each>
|
604
|
</table>
|
605
|
|
606
|
|
607
|
</xsl:template>
|
608
|
|
609
|
|
610
|
</xsl:stylesheet>
|