Project

General

Profile

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
                xmlns:ands="http://ands.org.au/standards/rif-cs/registryObjects"
5
                exclude-result-prefixes="fn">
6

    
7
	<xsl:output indent="yes"/>
8

    
9
	<xsl:template match="/">
10
		<fundings>
11
			<fundingtree>
12
				<funder>
13
					<id>nhmrc_______::NHMRC</id>
14
					<shortname>NHMRC</shortname>
15
					<name>National Health and Medical Research Council (NHMRC)</name>
16
					<jurisdiction>AU</jurisdiction>
17
				</funder>
18
			</fundingtree>
19
			<xsl:for-each select="//ands:description[@type='fundingScheme']">
20
				<fundingtree>
21
					<funder>
22
						<id>nhmrc_______::NHMRC</id>
23
						<shortname>NHMRC</shortname>
24
						<name>National Health and Medical Research Council (NHMRC)</name>
25
						<jurisdiction>AU</jurisdiction>
26
					</funder>
27
					<funding_level_0>
28
						<id>
29
							<xsl:value-of
30
									select="concat('nhmrc_______::NHMRC::', normalize-space(.))"/>
31
						</id>
32
						<name>
33
							<xsl:value-of select="normalize-space(.)"/>
34
						</name>
35
						<description>
36
							<xsl:value-of select="normalize-space(.)"/>
37
						</description>
38
						<parent></parent>
39
						<class>nhmrc:fundingStream</class>
40
					</funding_level_0>
41
				</fundingtree>
42
			</xsl:for-each>
43
		</fundings>
44
	</xsl:template>
45
</xsl:stylesheet>
(19-19/33)