Project

General

Profile

« Previous | Next » 

Revision 57276

Transformation rules modified to consider also funded amount and summary for the projects. Not all the rules consider both the updates (not all the funders provide both funded amount and summary for the project) ref #4965

View differences:

rcuk_2_db.xml
115 115
														select="concat(.//*[local-name() = 'valuePounds']/@*[local-name() = 'amount'], ' ', .//*[local-name() = 'valuePounds']/@*[local-name() = 'currencyCode'])"
116 116
												/>
117 117
											</FIELD>
118
<FIELD name="fundedamount" type="float">
119
                            <xsl:value-of
120
                                select=".//*[local-name() = 'valuePounds']/@*[local-name() = 'amount']"
121
                            />
122
                        </FIELD>
118 123

  
124
                        <FIELD name="currency">
125
                           <xsl:value-of select=".//*[local-name() = 'valuePounds']/@*[local-name() = 'currencyCode']"/>
126
                        </FIELD>
127
                       <FIELD name="summary">
128
                           <xsl:value-of select=".//*[local-name() = 'abstractText']"/>
129
                       </FIELD>
119 130
											<xsl:variable name="principalInvestigators">
120 131
												<xsl:apply-templates
121 132
														select=".//*[local-name() = 'person']"/>

Also available in: Unified diff