Revision 47066
Added by Miriam Baglioni about 7 years ago
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/entityreg-contexts/xsl/fwf_contexts.xsl | ||
---|---|---|
7 | 7 |
<xsl:variable name="funderID" select="concat($namespacePrefix, '::FWF')"/> |
8 | 8 |
|
9 | 9 |
<xsl:template match="/"> |
10 |
<xsl:variable name="fundingName" select="normalize-space(.//column[@name='Grant_Type'])"/>
|
|
11 |
<xsl:variable name="fundingCode" select="normalize-space(.//column[@name='Grant_Type_Code'])"/>
|
|
10 |
<xsl:variable name="fundingName" select="normalize-space(.//column[@name='promotion category'])"/>
|
|
11 |
<xsl:variable name="fundingCode" select="normalize-space(substring-before(.//column[@name='project number'],' –'))"/>
|
|
12 | 12 |
<fundingtree> |
13 | 13 |
<funder> |
14 | 14 |
<id><xsl:value-of select="$funderID"/></id> |
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/xslt/rcuk_2_db.xsl | ||
---|---|---|
148 | 148 |
<FIELD name="resporganization"> |
149 | 149 |
<xsl:value-of select="$organizationId" /> |
150 | 150 |
</FIELD> |
151 |
|
|
151 | 152 |
<FIELD name="semanticclass">participant</FIELD> |
152 | 153 |
<FIELD name="semanticscheme">dnet:project_organization_relations</FIELD> |
153 | 154 |
</ROW> |
... | ... | |
178 | 179 |
<FIELD name="provenanceActionClass">sysimport:crosswalk:entityregistry</FIELD> |
179 | 180 |
<FIELD name="provenanceActionScheme">dnet:provenanceActions</FIELD> |
180 | 181 |
</ROW> |
182 |
|
|
181 | 183 |
<xsl:if test="string-length($personFirstName) > 0"> |
182 | 184 |
<ROW table="persons"> |
183 | 185 |
<FIELD name="_dnet_resource_identifier_"> |
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/xslt/fwf_2_db.xsl | ||
---|---|---|
7 | 7 |
<xsl:variable name="funderID" select="concat($namespacePrefix, '::FWF')"/> |
8 | 8 |
<xsl:variable name="fundingName" select="normalize-space(.//column[@name='promotion category'])"/> |
9 | 9 |
|
10 |
<xsl:variable name="fundingCode" select="normalize-space(substring-before(.//column[@name='project number'],'–'))"/> |
|
11 |
<xsl:variable name="projectNumber" select="normalize-space(substring-after(.//column[@name='project number'],'–'))"/>
|
|
10 |
<xsl:variable name="fundingCode" select="normalize-space(substring-before(.//column[@name='project number'],' –'))"/>
|
|
11 |
<xsl:variable name="projectNumber" select="normalize-space(substring-after(.//column[@name='project number'],' – '))"/>
|
|
12 | 12 |
<xsl:variable name="fundingID"> |
13 | 13 |
<xsl:choose> |
14 | 14 |
<xsl:when test="string-length($fundingCode) > 0"> |
... | ... | |
17 | 17 |
<xsl:otherwise> |
18 | 18 |
<xsl:value-of select="$funderID"/> |
19 | 19 |
</xsl:otherwise> |
20 |
</xsl:choose>`
|
|
20 |
</xsl:choose> |
|
21 | 21 |
</xsl:variable> |
22 | 22 |
|
23 | 23 |
|
Also available in: Unified diff
minor changes