Changeset 30868


Ignore:
Timestamp:
2016-10-17T09:54:08+13:00 (8 years ago)
Author:
kjdon
Message:

removed a heap of hat-Ms, and modified the gsf:if-metadata-exists template so that you can use the pos attribute in the test metadata element

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/config_format.xsl

    r30727 r30868  
    627627    <xsl:template match="gsf:if-metadata-exists">
    628628        <xsl:variable name="meta-path">
    629             <xsl:for-each select="gsf:metadata">(.//metadataList)[last()]/metadata[@name='<xsl:call-template name="getMetadataName"/>']</xsl:for-each>
     629            <xsl:for-each select="gsf:metadata">(.//metadataList)[last()]/metadata[@name='<xsl:call-template name="getMetadataName"/>']<xsl:if test="@pos">[<xsl:value-of select="@pos"/>]</xsl:if></xsl:for-each>
    630630        </xsl:variable>
    631631        <xslt:choose>
Note: See TracChangeset for help on using the changeset viewer.