Project

General

Profile

« Previous | Next » 

Revision 53140

deleted deprecated xslt for corda h2020

View differences:

modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/entityreg-contexts/xsl/corda_h2020_contexts.xsl
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>
11
					<xsl:value-of select="$funderID"/>
12
				</id>
13
				<shortname>EC</shortname>
14
				<name>European Commission</name>
15
				<jurisdiction>EU</jurisdiction>
16
			</funder>
17
			<funding_level_0>
18
				<id>
19
					<xsl:value-of select="concat($funderID, '::H2020')"/>
20
				</id>
21
				<name>H2020</name>
22
				<description>Horizon 2020 Framework Programme</description>
23
				<parent/>
24
				<class>ec:h2020fundings</class>
25
			</funding_level_0>
26
		</fundingtree>
27
	</xsl:template>
28

  
29
</xsl:stylesheet>

Also available in: Unified diff