Project

General

Profile

Revision 10384

Simplify keyword thesaurus display

Showing the whole thesaurus for every keyword set is way too much info
and is impossible to display with a naive implementation.

View differences:

iso-gmd.xsl
45 45
    <xsl:template match="gmd:distributionInfo">
46 46
        <xsl:apply-templates />
47 47
    </xsl:template>
48

  
49
    <!-- BDM: This is a short template for the thesaurus rather than a full 
50
    implementation. I did this for space reasons in the view. At some later 
51
    point we could consider showing the full thesaurus citation some other way.
52
    -->
53
    <xsl:template match="gmd:thesaurusName">
54
        <xsl:value-of select="./gmd:CI_Citation/gmd:title" />
55
        <xsl:apply-templates select="./gmd:CI_Citation/gmd:date" />
56
        <xsl:if test="./gmd:CI_Citation/gmd:edition">
57
            <xsl:value-of select="gmd:CI_Citation/gmd:edition" />
58
        </xsl:if>
59
    </xsl:template>
48 60
</xsl:stylesheet>

Also available in: Unified diff