Project

General

Profile

« Previous | Next » 

Revision 57756

update of the TR for corda, fwf, and arc

View differences:

arc_2_db.xml
18 18

  
19 19
	<xsl:output indent="yes"/>
20 20

  
21
	<xsl:param name="varDatasourceId"/>
21
	<xsl:param name="varDataSourceId"/>
22 22

  
23 23
	<xsl:template match="/">
24 24
		<record>
......
80 80
                                <xsl:value-of select="//ands:description[@type='brief']"/>
81 81
                            </FIELD>
82 82
                            <xsl:if test="//ands:description[@type='fundingAmount']">
83
                            	<xsl:variable name="fundedamount" select="translate(//ands:description[@type='fundingAmount'],'$,','')"/>
84
                            	<xsl:if test="numeric($fundedamount)">
83 85
                                <FIELD name="fundedamount" type="float">
84 86
                                    <xsl:value-of select="translate(//ands:description[@type='fundingAmount'],'$,','')"/>
85 87
                                </FIELD>
86 88
                                <FIELD name="currency">
87 89
                                    <xsl:value-of select="string('AUD')"/>
88 90
                                </FIELD>
91
                                </xsl:if>
89 92
                            </xsl:if>
90 93
							<FIELD name="collectedfrom">
91
								<xsl:value-of select="$varDatasourceId"/>
94
								<xsl:value-of select="$varDataSourceId"/>
92 95
							</FIELD>
93 96
							<FIELD name="provenanceActionClass">sysimport:crosswalk:entityregistry</FIELD>
94 97
							<FIELD name="provenanceActionScheme">dnet:provenanceActions</FIELD>

Also available in: Unified diff