Project

General

Profile

« Previous | Next » 

Revision 59170

enhance the simple scv transformet to include download, journal and publication type. Related to #5621

View differences:

csv_publication.xsl
52 52
        </xsl:for-each>
53 53
        <xsl:text>,</xsl:text>
54 54

  
55
        <!-- Download from -->
56
        <xsl:value-of select="children/instance[1]/webresource[1]"/>
57
        <xsl:text>,</xsl:text>
58

  
59
        <!-- Publication Type -->
60
        <xsl:value-of select="children/instance[1]/instancetype/@classname"/>
61
        <xsl:text>,</xsl:text>
62

  
63
        <!-- Journal -->
64
        <xsl:text>"</xsl:text>
65
        <xsl:copy-of select="replace(source, '&lt;/?\w+[^&lt;]*&gt;', '')"/>
66
        <xsl:text>",</xsl:text>
67

  
68

  
55 69
        <!-- Funder|Project Name (GA Number) -->
56 70
        <xsl:for-each select="rels/rel/to[@class='isProducedBy']">
57 71
            <xsl:value-of select="../funding/funder/@shortname"/>

Also available in: Unified diff