Project

General

Profile

metacat / lib / style / skins / metacatui / iso / iso-ci.xsl @ 10046

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
  <!-- CI_ResponsibleParty -->
8
  <xsl:template name="ci_responsibleparty" match="gmd:CI_ResponsibleParty">
9
    <xsl:if test="./gmd:individualName">
10
      <div class="control-group">
11
        <label class="control-label">Individual</label>
12
        <div class="controls">
13
          <div class="controls-well">
14
            <xsl:apply-templates select="./gmd:individualName/*" />
15
          </div>
16
        </div>
17
      </div>
18
    </xsl:if>
19
    <xsl:if test="./gmd:organisationName">
20
      <div class="control-group">
21
        <label class="control-label">Organization</label>
22
        <div class="controls">
23
          <div class="controls-well">
24
            <xsl:apply-templates select="./gmd:organisationName/*" />
25
          </div>
26
        </div>
27
      </div>
28
    </xsl:if>
29
    <xsl:if test="./gmd:positionName">
30
      <div class="control-group">
31
        <label class="control-label">Position</label>
32
        <div class="controls">
33
          <div class="controls-well">
34
            <xsl:apply-templates select="./gmd:positionName/*" />
35
          </div>
36
        </div>
37
      </div>
38
    </xsl:if>
39
    <xsl:if test="./gmd:role">
40
      <div class="control-group">
41
        <label class="control-label">Role</label>
42
        <div class="controls">
43
          <div class="controls-well">
44
            <xsl:value-of select="./gmd:role/gmd:CI_RoleCode" />
45
          </div>
46
        </div>
47
      </div>
48
    </xsl:if>
49
  </xsl:template>
50
</xsl:stylesheet>