Changeset 29091

Show
Ignore:
Timestamp:
05.06.2014 13:42:46 (6 years ago)
Author:
kjdon
Message:

can now set pos='classifiedBy' to output the metadata value used for classifying the document into the current position

Files:
1 modified

Legend:

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

    r29035 r29091  
    481481                    <xsl:when test="@pos = 'first'">position()=1</xsl:when> 
    482482                    <xsl:when test="@pos = 'last'">position() = last()</xsl:when> 
     483                    <xsl:when test="@pos = 'classifiedBy'">position() = number(../../@mdoffset)+1</xsl:when> 
    483484                    <xsl:when test="@pos">position() = <xsl:value-of select="@pos"/> 
    484485                    </xsl:when>