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