1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/xpath-functions" exclude-result-prefixes="fn">
|
3
|
|
4
|
<xsl:variable name="namespacePrefix" select="string('ec__________')"/>
|
5
|
<xsl:variable name="funderID" select="concat($namespacePrefix, '::EC')"/>
|
6
|
|
7
|
<xsl:template match="/">
|
8
|
<fundingtree>
|
9
|
<funder>
|
10
|
<id><xsl:value-of select="$funderID"/></id>
|
11
|
<shortname>EC</shortname>
|
12
|
<name>European Commission</name>
|
13
|
<jurisdiction>EU</jurisdiction>
|
14
|
</funder>
|
15
|
<funding_level_0>
|
16
|
<id><xsl:value-of select="concat($funderID, '::H2020')"/></id>
|
17
|
<name>H2020</name>
|
18
|
<description>Horizon 2020 Framework Programme</description>
|
19
|
<parent/>
|
20
|
<class>ec:h2020fundings</class>
|
21
|
</funding_level_0>
|
22
|
</fundingtree>
|
23
|
</xsl:template>
|
24
|
|
25
|
</xsl:stylesheet>
|