1 |
10046
|
mecum
|
<?xml version="1.0"?>
|
2 |
10056
|
mecum
|
<xsl:stylesheet
|
3 |
10046
|
mecum
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
4 |
10056
|
mecum
|
xmlns:gmd="http://www.isotc211.org/2005/gmd"
|
5 |
10046
|
mecum
|
version="1.0">
|
6 |
10056
|
mecum
|
|
7 |
|
|
<xsl:template match="gmd:MD_Identifier">
|
8 |
|
|
<xsl:apply-templates select="./gmd:code" />
|
9 |
|
|
</xsl:template>
|
10 |
|
|
|
11 |
10059
|
mecum
|
<xsl:template match="gmd:MD_TopicCategoryCode">
|
12 |
|
|
<xsl:apply-templates />
|
13 |
|
|
</xsl:template>
|
14 |
|
|
|
15 |
10056
|
mecum
|
<xsl:template match="gmd:MD_Keywords">
|
16 |
10059
|
mecum
|
<table class="table table-condensed">
|
17 |
|
|
<thead>
|
18 |
|
|
<tr>
|
19 |
|
|
<th>Keyword</th>
|
20 |
|
|
</tr>
|
21 |
|
|
</thead>
|
22 |
|
|
<tbody>
|
23 |
|
|
<xsl:for-each select="./gmd:keyword">
|
24 |
|
|
<tr>
|
25 |
|
|
<td><xsl:apply-templates select="." /></td>
|
26 |
|
|
</tr>
|
27 |
|
|
</xsl:for-each>
|
28 |
|
|
</tbody>
|
29 |
|
|
</table>
|
30 |
10056
|
mecum
|
|
31 |
10059
|
mecum
|
<xsl:if test="./gmd:type">
|
32 |
|
|
<div class="control-group">
|
33 |
|
|
<label class="control-label">Type</label>
|
34 |
|
|
<div class="controls">
|
35 |
|
|
<div class="controls-well">
|
36 |
|
|
<xsl:value-of select="./gmd:type/gmd:MD_KeywordTypeCode/text()" />
|
37 |
|
|
</div>
|
38 |
|
|
</div>
|
39 |
|
|
</div>
|
40 |
|
|
</xsl:if>
|
41 |
|
|
|
42 |
|
|
<div class="control-group">
|
43 |
|
|
<label class="control-label">Thesaurus</label>
|
44 |
|
|
<div class="controls">
|
45 |
|
|
<div class="controls-well">
|
46 |
|
|
<xsl:apply-templates select="./gmd:thesaurusName/gmd:CI_Citation" />
|
47 |
|
|
</div>
|
48 |
|
|
</div>
|
49 |
|
|
</div>
|
50 |
|
|
|
51 |
10056
|
mecum
|
</xsl:template>
|
52 |
10059
|
mecum
|
|
53 |
|
|
<!-- TODO: gmd:CI_PresentationFormCode-->
|
54 |
|
|
<!-- TODO: gmd:CI_Series -->
|
55 |
10046
|
mecum
|
</xsl:stylesheet>
|