Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>NY</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>$CatalogNumber</3>
15
                            </_join>
16
                        </authorlocationcode>
17
                        <elevation_m>
18
                            <_avg>
19
                                <max>$MaximumElevation</max>
20
                                <min>
21
                                    <_nullIf>
22
                                        <null>.</null>
23
                                        <value>$MinimumElevation</value>
24
                                    </_nullIf>
25
                                </min>
26
                            </_avg>
27
                        </elevation_m>
28
                        <iscultivated>
29
                            <_locationnarrative_is_cultivated>
30
                                <locationnarrative>
31
                                    <_join>
32
                                        <1>
33
                                            <_join>
34
                                                <1>$Locality</1>
35
                                                <2>
36
                                                    <_label>
37
                                                        <label>substrate</label>
38
                                                        <value>$Substrate</value>
39
                                                    </_label>
40
                                                </2>
41
                                                <3>
42
                                                    <_label>
43
                                                        <label>vegetation</label>
44
                                                        <value>$Vegetation</value>
45
                                                    </_label>
46
                                                </3>
47
                                            </_join>
48
                                        </1>
49
                                        <3>$Habitat</3>
50
                                    </_join>
51
                                </locationnarrative>
52
                            </_locationnarrative_is_cultivated>
53
                        </iscultivated>
54
                        <locationevent>
55
                            <taxonoccurrence>
56
                                <aggregateoccurrence>
57
                                    <collectiondate>
58
                                        <_date>
59
                                            <day>
60
                                                <_nullIf>
61
                                                    <null>0</null>
62
                                                    <type>float</type>
63
                                                    <value>$DayCollected</value>
64
                                                </_nullIf>
65
                                            </day>
66
                                            <month>
67
                                                <_nullIf>
68
                                                    <null>0</null>
69
                                                    <type>float</type>
70
                                                    <value>$MonthCollected</value>
71
                                                </_nullIf>
72
                                            </month>
73
                                            <year>
74
                                                <_nullIf>
75
                                                    <null>0</null>
76
                                                    <type>float</type>
77
                                                    <value>$YearCollected</value>
78
                                                </_nullIf>
79
                                            </year>
80
                                        </_date>
81
                                    </collectiondate>
82
                                    <count>$IndividualCount</count>
83
                                    <notes>
84
                                        <_join>
85
                                            <1>$Notes</1>
86
                                            <2>
87
                                                <_label>
88
                                                    <label>plant fungus</label>
89
                                                    <value>$PlantFungusDescription</value>
90
                                                </_label>
91
                                            </2>
92
                                        </_join>
93
                                    </notes>
94
                                    <plantobservation>
95
                                        <collectionnumber>$FieldNumber</collectionnumber>
96
                                        <definedvalue fkey="tablerecord_id">
97
                                            <userdefined_id>
98
                                                <userdefined>
99
                                                    <tablename>plantobservation</tablename>
100
                                                    <userdefinedname>sex</userdefinedname>
101
                                                </userdefined>
102
                                            </userdefined_id>
103
                                            <definedvalue>$Sex</definedvalue>
104
                                        </definedvalue>
105
                                        <specimenreplicate>
106
                                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
107
                                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
108
                                            <institution_id>
109
                                                <sourcelist>
110
                                                    <name>$InstitutionCode</name>
111
                                                    <sourcename>
112
                                                        <name>
113
                                                            <_split>
114
                                                                <separator>, </separator>
115
                                                                <value>$InstitutionCode</value>
116
                                                            </_split>
117
                                                        </name>
118
                                                    </sourcename>
119
                                                </sourcelist>
120
                                            </institution_id>
121
                                        </specimenreplicate>
122
                                    </plantobservation>
123
                                </aggregateoccurrence>
124
                                <collector_id><party><fullname>$Collector</fullname></party></collector_id>
125
                                <taxondetermination>
126
                                    <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
127
                                    <taxonverbatim_id>
128
                                        <taxonverbatim>
129
                                            <taxonlabel_id>
130
                                                <taxonlabel>
131
                                                    <matched_label_id>
132
                                                        <taxonlabel>
133
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
134
                                                            <taxonomicname>
135
                                                                <_merge_prefix>
136
                                                                    <prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix>
137
                                                                    <value>
138
                                                                        <_join_words>
139
                                                                            <1>
140
                                                                                <_alt>
141
                                                                                    <1>$ScientificName</1>
142
                                                                                    <2>
143
                                                                                        <_join_words>
144
                                                                                            <2>$Genus</2>
145
                                                                                            <3>$Species</3>
146
                                                                                            <4>$Subspecies</4>
147
                                                                                        </_join_words>
148
                                                                                    </2>
149
                                                                                </_alt>
150
                                                                            </1>
151
                                                                            <2>$ScientificNameAuthor</2>
152
                                                                        </_join_words>
153
                                                                    </value>
154
                                                                </_merge_prefix>
155
                                                            </taxonomicname>
156
                                                        </taxonlabel>
157
                                                    </matched_label_id>
158
                                                    <creationdate>
159
                                                        <_date>
160
                                                            <day>
161
                                                                <_nullIf>
162
                                                                    <null>0</null>
163
                                                                    <type>float</type>
164
                                                                    <value>$DayIdentified</value>
165
                                                                </_nullIf>
166
                                                            </day>
167
                                                            <month>
168
                                                                <_nullIf>
169
                                                                    <null>0</null>
170
                                                                    <type>float</type>
171
                                                                    <value>$MonthIdentified</value>
172
                                                                </_nullIf>
173
                                                            </month>
174
                                                            <year>
175
                                                                <_nullIf>
176
                                                                    <null>0</null>
177
                                                                    <type>float</type>
178
                                                                    <value>$YearIdentified</value>
179
                                                                </_nullIf>
180
                                                            </year>
181
                                                        </_date>
182
                                                    </creationdate>
183
                                                    <parent_id>
184
                                                        <taxonlabel>
185
                                                            <parent_id>
186
                                                                <taxonlabel>
187
                                                                    <rank>cultivar</rank>
188
                                                                    <parent_id>
189
                                                                        <taxonlabel>
190
                                                                            <rank>forma</rank>
191
                                                                            <parent_id>
192
                                                                                <taxonlabel>
193
                                                                                    <rank>variety</rank>
194
                                                                                    <parent_id>
195
                                                                                        <taxonlabel>
196
                                                                                            <rank>subspecies</rank>
197
                                                                                            <taxonepithet>$Subspecies</taxonepithet>
198
                                                                                            <parent_id>
199
                                                                                                <taxonlabel>
200
                                                                                                    <rank>species</rank>
201
                                                                                                    <taxonepithet>$Species</taxonepithet>
202
                                                                                                    <parent_id>
203
                                                                                                        <taxonlabel>
204
                                                                                                            <rank>genus</rank>
205
                                                                                                            <taxonepithet>$Genus</taxonepithet>
206
                                                                                                            <parent_id>
207
                                                                                                                <taxonlabel>
208
                                                                                                                    <rank>family</rank>
209
                                                                                                                    <taxonepithet>$Family</taxonepithet>
210
                                                                                                                    <parent_id>
211
                                                                                                                        <taxonlabel>
212
                                                                                                                            <rank>order</rank>
213
                                                                                                                            <taxonepithet>$Order</taxonepithet>
214
                                                                                                                            <parent_id>
215
                                                                                                                                <taxonlabel>
216
                                                                                                                                    <rank>class</rank>
217
                                                                                                                                    <taxonepithet>$Class</taxonepithet>
218
                                                                                                                                    <parent_id>
219
                                                                                                                                        <taxonlabel>
220
                                                                                                                                            <rank>phylum</rank>
221
                                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
222
                                                                                                                                            <parent_id>
223
                                                                                                                                                <taxonlabel>
224
                                                                                                                                                    <rank>kingdom</rank>
225
                                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
226
                                                                                                                                                </taxonlabel>
227
                                                                                                                                            </parent_id>
228
                                                                                                                                        </taxonlabel>
229
                                                                                                                                    </parent_id>
230
                                                                                                                                </taxonlabel>
231
                                                                                                                            </parent_id>
232
                                                                                                                        </taxonlabel>
233
                                                                                                                    </parent_id>
234
                                                                                                                </taxonlabel>
235
                                                                                                            </parent_id>
236
                                                                                                        </taxonlabel>
237
                                                                                                    </parent_id>
238
                                                                                                </taxonlabel>
239
                                                                                            </parent_id>
240
                                                                                        </taxonlabel>
241
                                                                                    </parent_id>
242
                                                                                </taxonlabel>
243
                                                                            </parent_id>
244
                                                                        </taxonlabel>
245
                                                                    </parent_id>
246
                                                                </taxonlabel>
247
                                                            </parent_id>
248
                                                        </taxonlabel>
249
                                                    </parent_id>
250
                                                    <taxonomicname>
251
                                                        <_merge_prefix>
252
                                                            <prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix>
253
                                                            <value>
254
                                                                <_join_words>
255
                                                                    <1>
256
                                                                        <_alt>
257
                                                                            <1>$ScientificName</1>
258
                                                                            <2>
259
                                                                                <_join_words>
260
                                                                                    <2>$Genus</2>
261
                                                                                    <3>$Species</3>
262
                                                                                    <4>$Subspecies</4>
263
                                                                                </_join_words>
264
                                                                            </2>
265
                                                                        </_alt>
266
                                                                    </1>
267
                                                                    <2>$ScientificNameAuthor</2>
268
                                                                </_join_words>
269
                                                            </value>
270
                                                        </_merge_prefix>
271
                                                    </taxonomicname>
272
                                                </taxonlabel>
273
                                            </taxonlabel_id>
274
                                            <author>$ScientificNameAuthor</author>
275
                                            <family>$Family</family>
276
                                            <genus>$Genus</genus>
277
                                            <specific_epithet>$Species</specific_epithet>
278
                                            <taxonname>$ScientificName</taxonname>
279
                                        </taxonverbatim>
280
                                    </taxonverbatim_id>
281
                                    <determinationdate>
282
                                        <_date>
283
                                            <day>
284
                                                <_nullIf>
285
                                                    <null>0</null>
286
                                                    <type>float</type>
287
                                                    <value>$DayIdentified</value>
288
                                                </_nullIf>
289
                                            </day>
290
                                            <month>
291
                                                <_nullIf>
292
                                                    <null>0</null>
293
                                                    <type>float</type>
294
                                                    <value>$MonthIdentified</value>
295
                                                </_nullIf>
296
                                            </month>
297
                                            <year>
298
                                                <_nullIf>
299
                                                    <null>0</null>
300
                                                    <type>float</type>
301
                                                    <value>$YearIdentified</value>
302
                                                </_nullIf>
303
                                            </year>
304
                                        </_date>
305
                                    </determinationdate>
306
                                </taxondetermination>
307
                            </taxonoccurrence>
308
                            <waterdepth_m>
309
                                <_avg>
310
                                    <max>$MaximumDepth</max>
311
                                    <min>$MinimumDepth</min>
312
                                </_avg>
313
                            </waterdepth_m>
314
                        </locationevent>
315
                        <locationnarrative>
316
                            <_merge>
317
                                <1>
318
                                    <_join>
319
                                        <1>$Locality</1>
320
                                        <2>
321
                                            <_label>
322
                                                <label>substrate</label>
323
                                                <value>$Substrate</value>
324
                                            </_label>
325
                                        </2>
326
                                        <3>
327
                                            <_label>
328
                                                <label>vegetation</label>
329
                                                <value>$Vegetation</value>
330
                                            </_label>
331
                                        </3>
332
                                    </_join>
333
                                </1>
334
                                <3>
335
                                    <_label>
336
                                        <label>habitat</label>
337
                                        <value>$Habitat</value>
338
                                    </_label>
339
                                </3>
340
                            </_merge>
341
                        </locationnarrative>
342
                        <locationplace>
343
                            <place_id>
344
                                <place>
345
                                    <coordinates_id>
346
                                        <coordinates>
347
                                            <coordsaccuracy_m><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_m>
348
                                            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
349
                                            <latitude_deg>
350
                                                <_nullIf>
351
                                                    <null>0</null>
352
                                                    <type>float</type>
353
                                                    <value>$Latitude</value>
354
                                                </_nullIf>
355
                                            </latitude_deg>
356
                                            <longitude_deg>
357
                                                <_nullIf>
358
                                                    <null>0</null>
359
                                                    <type>float</type>
360
                                                    <value>$Longitude</value>
361
                                                </_nullIf>
362
                                            </longitude_deg>
363
                                        </coordinates>
364
                                    </coordinates_id>
365
                                    <continent>$ContinentOcean</continent>
366
                                    <country>$Country</country>
367
                                    <county>$County</county>
368
                                    <matched_place_id>
369
                                        <place>
370
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
371
                                            <coordinates_id>
372
                                                <coordinates>
373
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
374
                                                    <latitude_deg>
375
                                                        <_nullIf>
376
                                                            <null>0</null>
377
                                                            <type>float</type>
378
                                                            <value>$Latitude</value>
379
                                                        </_nullIf>
380
                                                    </latitude_deg>
381
                                                    <longitude_deg>
382
                                                        <_nullIf>
383
                                                            <null>0</null>
384
                                                            <type>float</type>
385
                                                            <value>$Longitude</value>
386
                                                        </_nullIf>
387
                                                    </longitude_deg>
388
                                                </coordinates>
389
                                            </coordinates_id>
390
                                            <country>$Country</country>
391
                                            <county>$County</county>
392
                                            <stateprovince>$StateProvince</stateprovince>
393
                                        </place>
394
                                    </matched_place_id>
395
                                    <stateprovince>$StateProvince</stateprovince>
396
                                </place>
397
                            </place_id>
398
                        </locationplace>
399
                    </location>
400
                </path>
401
            </_simplifyPath>
402
        </path>
403
    </_setDefault>
404
</VegBIEN>
405
Inserted 46 new rows into database
(5-5/6)