Project

General

Profile

« Previous | Next » 

Revision 55391

FIXES #4427#note-4: not all orgs are finnish

View differences:

modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/aka2db.xml
108 108
                            <FIELD name="legalname">
109 109
                                <xsl:value-of select="normalize-space(.//column[@name='Organisation'])"/>
110 110
                            </FIELD>
111
                            <FIELD name="country">
111
                            <!-- FIXES #4427#note-4 No country for projects abroad, based on the name of the call -->
112
                            <xsl:variable name="call"><xsl:value-of select=".//column[@name='Call']"/></xsl:variable>
113
                            <xsl:if test="not(starts-with($call, 'Grants for researcher training and research work abroad') or
114
                                starts-with($call, 'Grants for researcher training and research abroad') or
115
                                starts-with($call, 'Researcher training and research abroad') or
116
                                starts-with($call, 'Researcher training and research work abroad'))">
117
                             <FIELD name="country">
112 118
                                <xsl:value-of select="string('FI')"/>
113 119
                            </FIELD>
120
                            </xsl:if>
114 121
                            <FIELD name="collectedfrom">
115 122
                                <xsl:value-of select="$varDataSourceId"/>
116 123
                            </FIELD>

Also available in: Unified diff