Project

General

Profile

« Previous | Next » 

Revision 10535

inputs/HVAA/: switched to new-style import, using the steps at wiki.vegpath.org/Adding_new-style_import_to_a_datasource

View differences:

test.xml.ref
9 9
                    <location>
10 10
                        <authorlocationcode>
11 11
                            <_alt>
12
                                <1>$symbiotaId</1>
12
                                <1>$occurrenceID</1>
13 13
                                <2>
14 14
                                    <_join>
15
                                        <1>$institutionCode</1>
16
                                        <2>$collectionCode</2>
17
                                        <3>$catalogNumber</3>
15
                                        <1>$specimenHolderInstitutions</1>
16
                                        <2>$collection</2>
17
                                        <3>$accessionNumber</3>
18 18
                                    </_join>
19 19
                                </2>
20 20
                            </_alt>
......
54 54
                                <aggregateoccurrence>
55 55
                                    <collectiondate>
56 56
                                        <_alt>
57
                                            <1>$eventDate</1>
57
                                            <1>$dateCollected</1>
58 58
                                            <2>
59 59
                                                <_date>
60 60
                                                    <day>
61 61
                                                        <_nullIf>
62 62
                                                            <null>0</null>
63 63
                                                            <type>float</type>
64
                                                            <value>$day</value>
64
                                                            <value>$dayCollected</value>
65 65
                                                        </_nullIf>
66 66
                                                    </day>
67 67
                                                    <month>
68 68
                                                        <_nullIf>
69 69
                                                            <null>0</null>
70 70
                                                            <type>float</type>
71
                                                            <value>$month</value>
71
                                                            <value>$monthCollected</value>
72 72
                                                        </_nullIf>
73 73
                                                    </month>
74 74
                                                    <year>
75 75
                                                        <_nullIf>
76 76
                                                            <null>0</null>
77 77
                                                            <type>float</type>
78
                                                            <value>$year</value>
78
                                                            <value>$yearCollected</value>
79 79
                                                        </_nullIf>
80 80
                                                    </year>
81 81
                                                </_date>
......
85 85
                                    <count>$individualCount</count>
86 86
                                    <notes>$occurrenceRemarks</notes>
87 87
                                    <plantobservation>
88
                                        <authorplantcode>$recordNumber</authorplantcode>
88
                                        <authorplantcode>$collectorNumber</authorplantcode>
89 89
                                        <definedvalue fkey="tablerecord_id">
90 90
                                            <userdefined_id>
91 91
                                                <userdefined>
......
97 97
                                        </definedvalue>
98 98
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
99 99
                                        <specimenreplicate>
100
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
101
                                            <collectioncode_dwc>$collectionCode</collectioncode_dwc>
102
                                            <collectionnumber>$recordNumber</collectionnumber>
100
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
101
                                            <collectioncode_dwc>$collection</collectioncode_dwc>
102
                                            <collectionnumber>$collectorNumber</collectionnumber>
103 103
                                            <institution_id>
104 104
                                                <sourcelist>
105
                                                    <name>$institutionCode</name>
105
                                                    <name>$specimenHolderInstitutions</name>
106 106
                                                    <sourcename>
107 107
                                                        <name>
108 108
                                                            <_split>
109 109
                                                                <separator>[,;] *</separator>
110
                                                                <value>$institutionCode</value>
110
                                                                <value>$specimenHolderInstitutions</value>
111 111
                                                            </_split>
112 112
                                                        </name>
113 113
                                                    </sourcename>
114 114
                                                </sourcelist>
115 115
                                            </institution_id>
116
                                            <sourceaccessioncode>$symbiotaId</sourceaccessioncode>
116
                                            <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
117 117
                                        </specimenreplicate>
118 118
                                    </plantobservation>
119 119
                                </aggregateoccurrence>
......
134 134
                                        <value>$establishmentMeans</value>
135 135
                                    </_map>
136 136
                                </isnative>
137
                                <sourceaccessioncode>$symbiotaId</sourceaccessioncode>
137
                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
138 138
                                <taxondetermination>
139 139
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
140 140
                                    <taxonverbatim_id>

Also available in: Unified diff