1 |
10059
|
mecum
|
<?xml version="1.0"?>
|
2 |
10159
|
mecum
|
<xsl:stylesheet
|
3 |
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
4 |
|
|
xmlns:gmd="http://www.isotc211.org/2005/gmd" version="1.0">
|
5 |
10174
|
mecum
|
|
6 |
10059
|
mecum
|
<xsl:template match="gmd:URL">
|
7 |
10159
|
mecum
|
<xsl:variable name="url">
|
8 |
|
|
<xsl:value-of select="./text()" />
|
9 |
|
|
</xsl:variable>
|
10 |
10059
|
mecum
|
<xsl:element name="a">
|
11 |
|
|
<xsl:attribute name="href">
|
12 |
|
|
<xsl:value-of select="$url" />
|
13 |
|
|
</xsl:attribute>
|
14 |
|
|
<xsl:value-of select="$url" />
|
15 |
|
|
</xsl:element>
|
16 |
|
|
</xsl:template>
|
17 |
10174
|
mecum
|
|
18 |
10159
|
mecum
|
<xsl:template match="gmd:date">
|
19 |
|
|
<xsl:apply-templates />
|
20 |
|
|
</xsl:template>
|
21 |
10174
|
mecum
|
|
22 |
10159
|
mecum
|
<xsl:template match="gmd:dateStamp">
|
23 |
|
|
<xsl:apply-templates />
|
24 |
|
|
</xsl:template>
|
25 |
10174
|
mecum
|
|
26 |
10159
|
mecum
|
<xsl:template match="gmd:dateType">
|
27 |
|
|
<xsl:apply-templates />
|
28 |
|
|
</xsl:template>
|
29 |
10174
|
mecum
|
|
30 |
10159
|
mecum
|
<xsl:template match="gmd:resourceConstraints">
|
31 |
|
|
<!-- Show the title if it's present -->
|
32 |
|
|
<xsl:if test="../@xlink:title">
|
33 |
|
|
<div class="control-group">
|
34 |
|
|
<label class="control-label">Title</label>
|
35 |
|
|
<div class="controls">
|
36 |
|
|
<div class="controls-well">
|
37 |
|
|
<xsl:apply-templates select="../@xlink:title" />
|
38 |
|
|
</div>
|
39 |
|
|
</div>
|
40 |
|
|
</div>
|
41 |
|
|
</xsl:if>
|
42 |
|
|
<xsl:apply-templates />
|
43 |
|
|
</xsl:template>
|
44 |
10174
|
mecum
|
|
45 |
10160
|
mecum
|
<xsl:template match="gmd:distributionInfo">
|
46 |
|
|
<xsl:apply-templates />
|
47 |
|
|
</xsl:template>
|
48 |
10059
|
mecum
|
</xsl:stylesheet>
|