Project

General

Profile

« Previous | Next » 

Revision 53218

fix in the transformation rules

View differences:

modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/dfg2db.xml
12 12
            <SCRIPT>
13 13
                <TITLE>DFG to DB</TITLE>
14 14
                <CODE>
15
                    <![CDATA[
15 16
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:utils="eu.dnetlib.data.transform.xml.AbstractDNetXsltFunctions">
16 17

  
17 18
    <xsl:param name="varDataSourceId"/>
......
79 80
        </record>
80 81
    </xsl:template>
81 82
</xsl:stylesheet>
83
]]>
82 84
        </CODE>
83 85
        </SCRIPT>
84 86
        </CONFIGURATION>
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/nwo_2_db.xml
12 12
			<SCRIPT>
13 13
				<TITLE>NWO to DB</TITLE>
14 14
				<CODE>
15
					<![CDATA[
15 16
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
16 17
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
17 18
                exclude-result-prefixes="xs" version="1.0">
......
121 122
	</xsl:template>
122 123

  
123 124
</xsl:stylesheet>
125
]]>
124 126
				</CODE>
125 127
			</SCRIPT>
126 128
		</CONFIGURATION>
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/arc_2_db.xml
12 12
			<SCRIPT>
13 13
				<TITLE>ARC to DB</TITLE>
14 14
				<CODE>
15
					<![CDATA[
15 16
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
16 17
                xmlns:ands="http://ands.org.au/standards/rif-cs/registryObjects">
17 18

  
......
110 111
		</record>
111 112
	</xsl:template>
112 113
</xsl:stylesheet>
114
]]>
113 115
		</CODE>
114 116
		</SCRIPT>
115 117
		</CONFIGURATION>
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/nhmrc_2_db.xml
12 12
			<SCRIPT>
13 13
				<TITLE>NHMRC to DB</TITLE>
14 14
				<CODE>
15
					<![CDATA[
15 16
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
16 17
                xmlns:ands="http://ands.org.au/standards/rif-cs/registryObjects">
17 18

  
......
112 113
		</record>
113 114
	</xsl:template>
114 115
</xsl:stylesheet>
116
]]>
115 117
		</CODE>
116 118
		</SCRIPT>
117 119
		</CONFIGURATION>
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/snsf_2_db.xml
12 12
			<SCRIPT>
13 13
				<TITLE>SNSF to DB</TITLE>
14 14
				<CODE>
15
					<![CDATA[
15 16
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
16 17

  
17 18
	<xsl:param name="varDataSourceId"/>
......
145 146
	</xsl:template>
146 147

  
147 148
</xsl:stylesheet>
149
]]>
148 150
				</CODE>
149 151
			</SCRIPT>
150 152
		</CONFIGURATION>
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/conicyt2db.xml
12 12
            <SCRIPT>
13 13
                <TITLE>CONICYT to DB</TITLE>
14 14
                <CODE>
15
                    <![CDATA[
15 16
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
16 17
    xmlns:utils="eu.dnetlib.data.transform.xml.AbstractDNetXsltFunctions">
17 18

  
......
168 169
        </record>
169 170
    </xsl:template>
170 171
</xsl:stylesheet>
172
]]>
171 173
                </CODE>
172 174
            </SCRIPT>
173 175
        </CONFIGURATION>
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/nih_2_db.xml
11 11
	<IMPORTED/>
12 12
	<SCRIPT>
13 13
		<TITLE>NIH to DB</TITLE>
14
		<CODE>
14
		<CODE><![CDATA[
15 15
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
16 16

  
17 17
	<xsl:param name="parentDatasourceId"/>
......
192 192
		</record>
193 193
	</xsl:template>
194 194
</xsl:stylesheet>
195
]]>
195 196
		</CODE>
196 197
		</SCRIPT>
197 198
		</CONFIGURATION>
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/miur2db.xml
11 11
            <IMPORTED/>
12 12
            <SCRIPT>
13 13
                <TITLE>MIUR to DB</TITLE>
14
                <CODE>
14
                <CODE><![CDATA[
15 15
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
16 16
    xmlns:utils="eu.dnetlib.data.transform.xml.AbstractDNetXsltFunctions">
17 17

  
......
26 26
        />
27 27
    </xsl:variable>
28 28

  
29
    <xsl:variable name="organizationId" select="utils:md5(.//column[@name='ORGANIZATION_INVOLVED'])"/>
29
    <xsl:variable name="organizationId" select="concat($namespacePrefix,'::',utils:md5(.//column[@name='ORGANIZATION_INVOLVED']))"/>
30 30
    <xsl:template match="/">
31 31
        <record>
32 32

  
......
134 134
        </record>
135 135
    </xsl:template>
136 136
</xsl:stylesheet>
137
]]>
137 138
                </CODE>
138 139
            </SCRIPT>
139 140
        </CONFIGURATION>
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/mestd2db.xml
11 11
			<IMPORTED/>
12 12
			<SCRIPT>
13 13
				<TITLE>MESTD to DB</TITLE>
14
				<CODE>
14
				<CODE><![CDATA[
15 15
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
16 16

  
17 17
	<xsl:output indent="yes"/>
......
77 77
		</record>
78 78
	</xsl:template>
79 79
</xsl:stylesheet>
80
]]>
80 81
				</CODE>
81 82
			</SCRIPT>
82 83
		</CONFIGURATION>
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/funders/tara_2_db.xml
12 12
			<SCRIPT>
13 13
				<TITLE>TARA to DB</TITLE>
14 14
				<CODE>
15
					<![CDATA[
15 16
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
16 17
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
17 18
                exclude-result-prefixes="xs" version="2.0">
......
86 87
	</xsl:template>
87 88

  
88 89
</xsl:stylesheet>
90
]]>
89 91
		</CODE>
90 92
		</SCRIPT>
91 93
		</CONFIGURATION>

Also available in: Unified diff