Changeset 32095 for main/trunk

Show
Ignore:
Timestamp:
12.12.2017 11:19:18 (23 months ago)
Author:
kjdon
Message:

we only want to look at child metadataLists I think

Files:
1 modified

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>