Project

General

Profile

« Previous | Next » 

Revision 59116

DOIs mixed with other PIDs fixed - related to #5767

View differences:

csv_result.xsl
48 48
        <xsl:text>,</xsl:text>
49 49

  
50 50
        <!-- DOI -->
51
        <xsl:apply-templates select="pid"/>
51
        <xsl:for-each select="pid[@classid='doi']">
52
            <xsl:value-of select="."/>
53
            <xsl:if test="not(position()=last())">
54
                <xsl:text>;</xsl:text>
55
            </xsl:if>
56
        </xsl:for-each>
52 57
        <xsl:text>,</xsl:text>
53 58

  
54 59
        <!-- Funder|Project Name (GA Number) -->
......
80 85

  
81 86
    </xsl:template>
82 87

  
83
    <xsl:template match="pid[@classid='doi']">
84
        <xsl:value-of select="."/>
85
    </xsl:template>
86

  
87 88
    <xsl:template name="escape-quot-string">
88 89
        <xsl:param name="s"/>
89 90
        <xsl:choose>

Also available in: Unified diff