1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
xmlns:fn="http://www.w3.org/2005/xpath-functions" exclude-result-prefixes="fn">
|
4
|
|
5
|
<xsl:variable name="namespacePrefix" select="string('irb_hr______')"/>
|
6
|
|
7
|
<xsl:template match="/">
|
8
|
<xsl:choose>
|
9
|
<xsl:when test="//csvRecord/column[@name = 'FUNDER_NAME']/text() = 'MZOS'">
|
10
|
<fundingtree>
|
11
|
<funder>
|
12
|
<id>
|
13
|
<xsl:value-of select="concat($namespacePrefix, '::MZOS')"/>
|
14
|
</id>
|
15
|
<shortname>MZOS</shortname>
|
16
|
<name>Ministry of Science, Education and Sports of the Republic of Croatia (MSES)</name>
|
17
|
<originalname>Ministarstvo znanosti, obrazovanja i športa</originalname>
|
18
|
<jurisdiction>HR</jurisdiction>
|
19
|
</funder>
|
20
|
</fundingtree>
|
21
|
</xsl:when>
|
22
|
<xsl:otherwise>
|
23
|
<fundingtree/>
|
24
|
</xsl:otherwise>
|
25
|
</xsl:choose>
|
26
|
</xsl:template>
|
27
|
</xsl:stylesheet>
|
28
|
|