Revision 60433
Added by Miriam Baglioni about 2 years ago
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/entityreg-contexts/xsl/chistera_context.xsl | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
|
3 |
|
|
4 |
<xsl:output indent="yes"/> |
|
5 |
|
|
6 |
<xsl:template match="/"> |
|
7 |
<fundings> |
|
8 |
<fundingtree> |
|
9 |
<funder> |
|
10 |
<id>chistera____::CHISTERA</id> |
|
11 |
<shortname>CHIST-ERA</shortname> |
|
12 |
<name>CHIST-ERA</name> |
|
13 |
<originalname>CHIST-ERA</originalname> |
|
14 |
<jurisdiction>EU</jurisdiction> |
|
15 |
</funder> |
|
16 |
</fundingtree> |
|
17 |
</fundings> |
|
18 |
</xsl:template> |
|
19 |
</xsl:stylesheet> |
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/entityreg-contexts/xsl/gsri_context.xsl | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
3 |
xmlns:fn="http://www.w3.org/2005/xpath-functions" version="1.0" |
|
4 |
exclude-result-prefixes="fn"> |
|
5 |
|
|
6 |
<xsl:variable name="namespacePrefix" select="string('gsri________')"/> |
|
7 |
<xsl:variable name="funderID" select="concat($namespacePrefix, '::GSRI')"/> |
|
8 |
|
|
9 |
<xsl:template match="/"> |
|
10 |
<fundingtree> |
|
11 |
<funder> |
|
12 |
<id> |
|
13 |
<xsl:value-of select="$funderID"/> |
|
14 |
</id> |
|
15 |
<shortname>GSRI</shortname> |
|
16 |
<name>General Secretariat of Research and Innovation (GSRI)</name> |
|
17 |
<originalname>General Secretariat of Research and Innovation</originalname> |
|
18 |
<jurisdiction>GR</jurisdiction> |
|
19 |
</funder> |
|
20 |
|
|
21 |
</fundingtree> |
|
22 |
|
|
23 |
</xsl:template> |
|
24 |
|
|
25 |
</xsl:stylesheet> |
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/entityreg-contexts/xsl/ukri_context.xsl | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<xsl:stylesheet version="1.0" |
|
3 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/xpath-functions" |
|
4 |
exclude-result-prefixes="fn"> |
|
5 |
|
|
6 |
<xsl:variable name="namespacePrefix" select="string('ukri________')"/> |
|
7 |
<xsl:variable name="funderID" select="concat($namespacePrefix, '::UKRI')"/> |
|
8 |
|
|
9 |
<xsl:template match="/"> |
|
10 |
<xsl:variable name="funding" select="//funder/name"/> |
|
11 |
<fundingtree> |
|
12 |
<funder> |
|
13 |
<id> |
|
14 |
<xsl:value-of select="$funderID"/> |
|
15 |
</id> |
|
16 |
<shortname>UKRI</shortname> |
|
17 |
<name>UK Research and Innovation</name> |
|
18 |
<jurisdiction>GB</jurisdiction> |
|
19 |
</funder> |
|
20 |
<xsl:if test="string-length($funding) > 0"> |
|
21 |
<funding_level_0> |
|
22 |
<id> |
|
23 |
<xsl:value-of select="concat($funderID, '::', $funding)"/> |
|
24 |
</id> |
|
25 |
<description> |
|
26 |
<xsl:value-of select="$funding"/> |
|
27 |
</description> |
|
28 |
<name> |
|
29 |
<xsl:value-of select="$funding"/> |
|
30 |
</name> |
|
31 |
<parent></parent> |
|
32 |
<class>ukri:fundingStream</class> |
|
33 |
</funding_level_0> |
|
34 |
</xsl:if> |
|
35 |
</fundingtree> |
|
36 |
</xsl:template> |
|
37 |
</xsl:stylesheet> |
Also available in: Unified diff
context for new funder chistera and changed name for old funders RCUK (now UKRI) and GSRT (now GSRI)