Revision 10174
Added by Bryce Mecum almost 8 years ago
iso-gmd.xsl | ||
---|---|---|
2 | 2 |
<xsl:stylesheet |
3 | 3 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
4 | 4 |
xmlns:gmd="http://www.isotc211.org/2005/gmd" version="1.0"> |
5 |
|
|
5 | 6 |
<xsl:template match="gmd:URL"> |
6 | 7 |
<xsl:variable name="url"> |
7 | 8 |
<xsl:value-of select="./text()" /> |
... | ... | |
13 | 14 |
<xsl:value-of select="$url" /> |
14 | 15 |
</xsl:element> |
15 | 16 |
</xsl:template> |
17 |
|
|
16 | 18 |
<xsl:template match="gmd:date"> |
17 | 19 |
<xsl:apply-templates /> |
18 | 20 |
</xsl:template> |
21 |
|
|
19 | 22 |
<xsl:template match="gmd:dateStamp"> |
20 | 23 |
<xsl:apply-templates /> |
21 | 24 |
</xsl:template> |
25 |
|
|
22 | 26 |
<xsl:template match="gmd:dateType"> |
23 | 27 |
<xsl:apply-templates /> |
24 | 28 |
</xsl:template> |
29 |
|
|
25 | 30 |
<xsl:template match="gmd:resourceConstraints"> |
26 | 31 |
<!-- Show the title if it's present --> |
27 | 32 |
<xsl:if test="../@xlink:title"> |
... | ... | |
36 | 41 |
</xsl:if> |
37 | 42 |
<xsl:apply-templates /> |
38 | 43 |
</xsl:template> |
44 |
|
|
39 | 45 |
<xsl:template match="gmd:distributionInfo"> |
40 | 46 |
<xsl:apply-templates /> |
41 | 47 |
</xsl:template> |
Also available in: Unified diff
- Clean up isoroot selectors and comments. Use relative xpaths when possible
- Clean up the output of the ex module
- Misc whitespace/formatting fixes