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('irb_hr______')" />
|
7
|
|
8
|
<xsl:template match="/">
|
9
|
<fundingtree>
|
10
|
<xsl:if test="contains(//column[@name='FUNDER_NAME'], 'CSF')">
|
11
|
<funder>
|
12
|
<id><xsl:value-of select="concat($namespacePrefix, '::CSF')" /></id>
|
13
|
<shortname>CSF</shortname>
|
14
|
<name>Croatian Science Foundation</name>
|
15
|
<jurisdiction>HR</jurisdiction>
|
16
|
</funder>
|
17
|
<funding_level_0>
|
18
|
<id><xsl:value-of select="concat($namespacePrefix, '::CSF::fundingStream')" /></id>
|
19
|
<name>Croatian Science Foundation - Funding Stream</name>
|
20
|
<description>Croatian Science Foundation - Funding Stream</description>
|
21
|
<parent />
|
22
|
<class>csf:fundingStream</class>
|
23
|
</funding_level_0>
|
24
|
</xsl:if>
|
25
|
</fundingtree>
|
26
|
|
27
|
</xsl:template>
|
28
|
|
29
|
</xsl:stylesheet>
|