Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>BRIT.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$dataProviderRecordID</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$specimenHolderInstitutions</1>
16
                                        <3>$accessionNumber</3>
17
                                    </_join>
18
                                </2>
19
                            </_alt>
20
                        </authorlocationcode>
21
                        <elevation_m>
22
                            <_avg>
23
                                <1>$minimumElevationInMeters</1>
24
                                <2>$maximumElevationInMeters</2>
25
                            </_avg>
26
                        </elevation_m>
27
                        <iscultivated>
28
                            <_locationnarrative_is_cultivated>
29
                                <locationnarrative>
30
                                    <_join>
31
                                        <1>$locality</1>
32
                                        <3>$habitat</3>
33
                                    </_join>
34
                                </locationnarrative>
35
                            </_locationnarrative_is_cultivated>
36
                        </iscultivated>
37
                        <locationevent>
38
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
39
                            <project_id><project><projectname>$projectName</projectname></project></project_id>
40
                            <taxonoccurrence>
41
                                <aggregateoccurrence>
42
                                    <collectiondate>
43
                                        <_alt>
44
                                            <1>$dateCollected</1>
45
                                            <2>
46
                                                <_date>
47
                                                    <day>
48
                                                        <_nullIf>
49
                                                            <null>0</null>
50
                                                            <type>float</type>
51
                                                            <value>$dayCollected</value>
52
                                                        </_nullIf>
53
                                                    </day>
54
                                                    <month>
55
                                                        <_nullIf>
56
                                                            <null>0</null>
57
                                                            <type>float</type>
58
                                                            <value>$monthCollected</value>
59
                                                        </_nullIf>
60
                                                    </month>
61
                                                    <year>
62
                                                        <_nullIf>
63
                                                            <null>0</null>
64
                                                            <type>float</type>
65
                                                            <value>$yearCollected</value>
66
                                                        </_nullIf>
67
                                                    </year>
68
                                                </_date>
69
                                            </2>
70
                                        </_alt>
71
                                    </collectiondate>
72
                                    <notes>$occurrenceRemarks</notes>
73
                                    <plantobservation>
74
                                        <authorplantcode>$collectorNumber</authorplantcode>
75
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
76
                                        <specimenreplicate>
77
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
78
                                            <collectionnumber>$collectorNumber</collectionnumber>
79
                                            <institution_id>
80
                                                <sourcelist>
81
                                                    <name>$specimenHolderInstitutions</name>
82
                                                    <sourcename>
83
                                                        <name>
84
                                                            <_split>
85
                                                                <separator>[,;] *</separator>
86
                                                                <value>$specimenHolderInstitutions</value>
87
                                                            </_split>
88
                                                        </name>
89
                                                    </sourcename>
90
                                                </sourcelist>
91
                                            </institution_id>
92
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
93
                                        </specimenreplicate>
94
                                        <stemobservation>
95
                                            <diameterbreastheight_m><_cm_to_m><value>$diameterBreastHeight_cm</value></_cm_to_m></diameterbreastheight_m>
96
                                            <height_m>$height_m</height_m>
97
                                        </stemobservation>
98
                                    </plantobservation>
99
                                </aggregateoccurrence>
100
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
101
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
102
                                <taxondetermination>
103
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
104
                                    <taxonverbatim_id>
105
                                        <taxonverbatim>
106
                                            <taxonlabel_id>
107
                                                <taxonlabel>
108
                                                    <parent_id>
109
                                                        <taxonlabel>
110
                                                            <parent_id>
111
                                                                <taxonlabel>
112
                                                                    <rank>cultivar</rank>
113
                                                                    <parent_id>
114
                                                                        <taxonlabel>
115
                                                                            <rank>forma</rank>
116
                                                                            <parent_id>
117
                                                                                <taxonlabel>
118
                                                                                    <rank>variety</rank>
119
                                                                                    <parent_id>
120
                                                                                        <taxonlabel>
121
                                                                                            <rank>subspecies</rank>
122
                                                                                            <parent_id>
123
                                                                                                <taxonlabel>
124
                                                                                                    <rank>species</rank>
125
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
126
                                                                                                    <parent_id>
127
                                                                                                        <taxonlabel>
128
                                                                                                            <rank>genus</rank>
129
                                                                                                            <taxonepithet>$genus</taxonepithet>
130
                                                                                                            <parent_id>
131
                                                                                                                <taxonlabel>
132
                                                                                                                    <rank>family</rank>
133
                                                                                                                    <taxonepithet>$family</taxonepithet>
134
                                                                                                                    <parent_id>
135
                                                                                                                        <taxonlabel>
136
                                                                                                                            <rank>order</rank>
137
                                                                                                                            <taxonepithet>$order</taxonepithet>
138
                                                                                                                            <parent_id>
139
                                                                                                                                <taxonlabel>
140
                                                                                                                                    <rank>class</rank>
141
                                                                                                                                    <taxonepithet>$class</taxonepithet>
142
                                                                                                                                    <parent_id>
143
                                                                                                                                        <taxonlabel>
144
                                                                                                                                            <rank>phylum</rank>
145
                                                                                                                                            <taxonepithet>$phylum</taxonepithet>
146
                                                                                                                                            <parent_id>
147
                                                                                                                                                <taxonlabel>
148
                                                                                                                                                    <rank>kingdom</rank>
149
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
150
                                                                                                                                                </taxonlabel>
151
                                                                                                                                            </parent_id>
152
                                                                                                                                        </taxonlabel>
153
                                                                                                                                    </parent_id>
154
                                                                                                                                </taxonlabel>
155
                                                                                                                            </parent_id>
156
                                                                                                                        </taxonlabel>
157
                                                                                                                    </parent_id>
158
                                                                                                                </taxonlabel>
159
                                                                                                            </parent_id>
160
                                                                                                        </taxonlabel>
161
                                                                                                    </parent_id>
162
                                                                                                </taxonlabel>
163
                                                                                            </parent_id>
164
                                                                                        </taxonlabel>
165
                                                                                    </parent_id>
166
                                                                                </taxonlabel>
167
                                                                            </parent_id>
168
                                                                        </taxonlabel>
169
                                                                    </parent_id>
170
                                                                </taxonlabel>
171
                                                            </parent_id>
172
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
173
                                                        </taxonlabel>
174
                                                    </parent_id>
175
                                                    <taxonomicname>
176
                                                        <_merge_prefix>
177
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
178
                                                            <value>
179
                                                                <_alt>
180
                                                                    <1>$scientificName</1>
181
                                                                    <2>
182
                                                                        <_join_words>
183
                                                                            <1>
184
                                                                                <_join_words>
185
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
186
                                                                                    <3>$specificEpithet</3>
187
                                                                                    <5>$infraspecificEpithet</5>
188
                                                                                </_join_words>
189
                                                                            </1>
190
                                                                            <2>$scientificNameAuthorship</2>
191
                                                                        </_join_words>
192
                                                                    </2>
193
                                                                </_alt>
194
                                                            </value>
195
                                                        </_merge_prefix>
196
                                                    </taxonomicname>
197
                                                </taxonlabel>
198
                                            </taxonlabel_id>
199
                                            <author>$scientificNameAuthorship</author>
200
                                            <family>$family</family>
201
                                            <genus>$genus</genus>
202
                                            <specific_epithet>$specificEpithet</specific_epithet>
203
                                            <taxonomicname>$scientificName</taxonomicname>
204
                                        </taxonverbatim>
205
                                    </taxonverbatim_id>
206
                                    <determinationdate>
207
                                        <_alt>
208
                                            <1><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></1>
209
                                            <2>
210
                                                <_date>
211
                                                    <day>
212
                                                        <_nullIf>
213
                                                            <null>0</null>
214
                                                            <type>float</type>
215
                                                            <value>$dayIdentified</value>
216
                                                        </_nullIf>
217
                                                    </day>
218
                                                    <month>
219
                                                        <_nullIf>
220
                                                            <null>0</null>
221
                                                            <type>float</type>
222
                                                            <value>$monthIdentified</value>
223
                                                        </_nullIf>
224
                                                    </month>
225
                                                    <year>
226
                                                        <_nullIf>
227
                                                            <null>0</null>
228
                                                            <type>float</type>
229
                                                            <value>$yearIdentified</value>
230
                                                        </_nullIf>
231
                                                    </year>
232
                                                </_date>
233
                                            </2>
234
                                        </_alt>
235
                                    </determinationdate>
236
                                </taxondetermination>
237
                            </taxonoccurrence>
238
                        </locationevent>
239
                        <locationnarrative>
240
                            <_merge>
241
                                <1>$locality</1>
242
                                <3>
243
                                    <_label>
244
                                        <label>habitat</label>
245
                                        <value>$habitat</value>
246
                                    </_label>
247
                                </3>
248
                            </_merge>
249
                        </locationnarrative>
250
                        <locationplace>
251
                            <place_id>
252
                                <place>
253
                                    <coordinates_id>
254
                                        <coordinates>
255
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
256
                                            <latitude_deg>
257
                                                <_nullIf>
258
                                                    <null>0</null>
259
                                                    <type>float</type>
260
                                                    <value>$decimalLatitude</value>
261
                                                </_nullIf>
262
                                            </latitude_deg>
263
                                            <longitude_deg>
264
                                                <_nullIf>
265
                                                    <null>0</null>
266
                                                    <type>float</type>
267
                                                    <value>$decimalLongitude</value>
268
                                                </_nullIf>
269
                                            </longitude_deg>
270
                                        </coordinates>
271
                                    </coordinates_id>
272
                                    <continent>$continent</continent>
273
                                    <country>$country</country>
274
                                    <county>$county</county>
275
                                    <matched_place_id>
276
                                        <place>
277
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
278
                                            <coordinates_id>
279
                                                <coordinates>
280
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
281
                                                    <latitude_deg>
282
                                                        <_nullIf>
283
                                                            <null>0</null>
284
                                                            <type>float</type>
285
                                                            <value>$decimalLatitude</value>
286
                                                        </_nullIf>
287
                                                    </latitude_deg>
288
                                                    <longitude_deg>
289
                                                        <_nullIf>
290
                                                            <null>0</null>
291
                                                            <type>float</type>
292
                                                            <value>$decimalLongitude</value>
293
                                                        </_nullIf>
294
                                                    </longitude_deg>
295
                                                </coordinates>
296
                                            </coordinates_id>
297
                                            <country>$country</country>
298
                                            <county>$county</county>
299
                                            <stateprovince>$stateProvince</stateprovince>
300
                                        </place>
301
                                    </matched_place_id>
302
                                    <stateprovince>$stateProvince</stateprovince>
303
                                </place>
304
                            </place_id>
305
                        </locationplace>
306
                    </location>
307
                </path>
308
            </_simplifyPath>
309
        </path>
310
    </_setDefault>
311
</VegBIEN>
312
Inserted 42 new rows into database
(8-8/9)