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>arc_________::ARC</id>
14
					<shortname>ARC</shortname>
15
					<name>Australian Research Council (ARC)</name>
16
					<jurisdiction>AU</jurisdiction>
17
				</funder>
18
			</fundingtree>
19
			<xsl:for-each select="//ands:description[@type='fundingScheme']">
20
				<fundingtree>
21
					<funder>
22
						<id>arc_________::ARC</id>
23
						<shortname>ARC</shortname>
24
						<name>Australian Research Council (ARC)</name>
25
						<jurisdiction>AU</jurisdiction>
26
					</funder>
27
					<funding_level_0>
28
						<id>
29
							<xsl:value-of select="concat('arc_________::ARC::', normalize-space(.))"/>
30
						</id>
31
						<name>
32
							<xsl:value-of select="normalize-space(.)"/>
33
						</name>
34
						<description>
35
							<xsl:value-of select="normalize-space(.)"/>
36
						</description>
37
						<parent></parent>
38
						<class>arc:fundingStream</class>
39
					</funding_level_0>
40
				</fundingtree>
41
			</xsl:for-each>
42
		</fundings>
43
	</xsl:template>
44
</xsl:stylesheet>
45

    
(3-3/33)