Project

General

Profile

metacat / lib / style / skins / metacatui / iso19115 / iso-md.xsl @ 10194

1
<?xml version="1.0"?>
2
<xsl:stylesheet
3
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
  xmlns:gmd="http://www.isotc211.org/2005/gmd"
5
  version="1.0">
6

    
7
  <xsl:template match="gmd:MD_Identifier">
8
    <xsl:apply-templates select="./gmd:code" />
9
  </xsl:template>
10

    
11
    <xsl:template match="gmd:MD_TopicCategoryCode">
12
        <xsl:apply-templates />
13
    </xsl:template>
14

    
15
  <xsl:template match="gmd:MD_Keywords">
16
      <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

    
31
      <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
  </xsl:template>
52

    
53
    <!-- TODO: gmd:CI_PresentationFormCode-->
54
    <!-- TODO: gmd:CI_Series -->
55
</xsl:stylesheet>