Revision 48954
Added by Claudio Atzori over 6 years ago
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/xslt/corda_2_db.xsl | ||
---|---|---|
16 | 16 |
<xsl:variable name="funderID" select="concat($namespacePrefix, '::EC')"/> |
17 | 17 |
|
18 | 18 |
<xsl:template match="/"> |
19 |
<record |
|
20 |
> |
|
21 |
|
|
19 |
<record> |
|
22 | 20 |
<xsl:copy-of select=".//*[local-name()='header']"/> |
23 |
|
|
24 | 21 |
<metadata> |
25 | 22 |
<ROWS> |
26 | 23 |
<xsl:for-each select="//Project"> |
... | ... | |
54 | 51 |
<xsl:variable name="projectProgramId" select="concat($funderID, '::FP7::', $specificName, '::', $projectProgramName)"/> |
55 | 52 |
<xsl:variable name="projectId" select="concat('corda_______::', normalize-space(./ProjectId))"/> |
56 | 53 |
|
57 |
<FIELD name="collectedfrom"> |
|
58 |
<xsl:value-of select="$parentDatasourceId"/> |
|
59 |
</FIELD> |
|
60 |
<FIELD name="provenanceActionClass">sysimport:crosswalk:entityregistry</FIELD> |
|
61 |
<FIELD name="provenanceActionScheme">dnet:provenanceActions</FIELD> |
|
62 |
|
|
63 |
<!-- |
|
54 |
<!-- |
|
64 | 55 |
<ROW table="fundings"> |
65 | 56 |
<FIELD name="_dnet_resource_identifier_"><xsl:value-of select="$specificId" /></FIELD> |
66 | 57 |
<FIELD name="id"><xsl:value-of select="$specificId" /></FIELD> |
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/xslt/corda_h2020_2_db.xsl | ||
---|---|---|
16 | 16 |
<xsl:variable name="funderID" select="concat($namespacePrefix, '::EC')"/> |
17 | 17 |
|
18 | 18 |
<xsl:template match="/"> |
19 |
<record |
|
20 |
> |
|
21 |
|
|
19 |
<record> |
|
22 | 20 |
<xsl:copy-of select=".//*[local-name()='header']"/> |
23 |
|
|
24 | 21 |
<metadata> |
25 | 22 |
<ROWS> |
26 | 23 |
<xsl:for-each select="//Project"> |
27 |
|
|
28 | 24 |
<xsl:variable name="fundingId" select="concat($funderID, '::H2020')"/> |
29 | 25 |
<xsl:variable name="projectId" select="concat('corda__h2020::', normalize-space(./ProjectId))"/> |
30 |
|
|
31 | 26 |
<ROW table="projects"> |
32 | 27 |
<FIELD name="_dnet_resource_identifier_"> |
33 | 28 |
<xsl:value-of select="$projectId"/> |
Also available in: Unified diff
fixed mapping