Changeset 32095 for main/trunk


Ignore:
Timestamp:
12/12/17 11:19:18 (3 years ago)
Author:
kjdon
Message:

we only want to look at child metadataLists I think

File:
1 edited

Legend:

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

    r32074 r32095  
    636636    <xsl:template match="gsf:if-metadata-exists">
    637637        <xsl:variable name="meta-path">
    638             <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>
     638            <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>
    639639        </xsl:variable>
    640640        <xslt:choose>
Note: See TracChangeset for help on using the changeset viewer.