1 |
48888
|
miriam.bag
|
<?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 |
48916
|
miriam.bag
|
<xsl:variable name="namespacePrefix" select="string('conicytf____')"/>
|
6 |
48888
|
miriam.bag
|
<xsl:variable name="funderID" select="concat($namespacePrefix, '::CONICYT')"/>
|
7 |
|
|
|
8 |
|
|
<xsl:template match="/">
|
9 |
|
|
<fundingtree>
|
10 |
|
|
<funder>
|
11 |
|
|
<id>
|
12 |
|
|
<xsl:value-of select="$funderID"/>
|
13 |
|
|
</id>
|
14 |
|
|
<shortname>CONICYT</shortname>
|
15 |
|
|
<name>Comisión Nacional de Investigación Científica y Tecnológica</name>
|
16 |
|
|
<jurisdiction>CL</jurisdiction>
|
17 |
|
|
</funder>
|
18 |
|
|
<funding_level_1>
|
19 |
|
|
<id>
|
20 |
|
|
<xsl:value-of select="concat($funderID, '::', .//column[@name='FUNDER STREAM LEVEL I'],'::',.//column[@name='FUNDER STREAM LEVEL II'])"/>
|
21 |
|
|
</id>
|
22 |
|
|
<description>
|
23 |
48916
|
miriam.bag
|
<xsl:value-of select="concat(string('Fondecyt stream, '), .//column[@name='FUNDER STREAM LEVEL II'])"/>
|
24 |
48888
|
miriam.bag
|
</description>
|
25 |
|
|
<name>
|
26 |
48916
|
miriam.bag
|
<xsl:value-of select="concat(string('Fondecyt stream, '), .//column[@name='FUNDER STREAM LEVEL II'])"/>
|
27 |
48888
|
miriam.bag
|
</name>
|
28 |
|
|
<class>conicyt:fondecytfundings</class>
|
29 |
|
|
<parent>
|
30 |
|
|
<funding_level_0>
|
31 |
|
|
<id>
|
32 |
|
|
<xsl:value-of select="concat($funderID, '::',.//column[@name='FUNDER STREAM LEVEL I'])"/>
|
33 |
|
|
</id>
|
34 |
|
|
<name>FONDECYT</name>
|
35 |
|
|
<description>Fondecyt fundings</description>
|
36 |
|
|
<parent/>
|
37 |
|
|
<class>conicyt:fondecytfundings</class>
|
38 |
|
|
</funding_level_0>
|
39 |
|
|
</parent>
|
40 |
|
|
</funding_level_1>
|
41 |
|
|
|
42 |
|
|
</fundingtree>
|
43 |
|
|
</xsl:template>
|
44 |
|
|
</xsl:stylesheet>
|