Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_alt>
6
                <3>$UniqueNYInternalRecordNumber</3>
7
                <4>
8
                    <_merge>
9
                        <1>$InstitutionCode</1>
10
                        <2>$CollectionCode</2>
11
                        <3>$CatalogNumber</3>
12
                    </_merge>
13
                </4>
14
            </_alt>
15
        </authorlocationcode>
16
        <elevation>
17
            <_avg>
18
                <max>
19
                    <_units>
20
                        <default>m</default>
21
                        <to>m</to>
22
                        <to></to>
23
                        <value>
24
                            <_replace>
25
                                <\bca\.?></\bca\.?>
26
                                <value>$MaximumElevation</value>
27
                            </_replace>
28
                        </value>
29
                    </_units>
30
                </max>
31
                <min>
32
                    <_units>
33
                        <default>m</default>
34
                        <to>m</to>
35
                        <to></to>
36
                        <value>
37
                            <_rangeStart>
38
                                <value>
39
                                    <_replace>
40
                                        <\bca\.?></\bca\.?>
41
                                        <value>
42
                                            <_nullIf>
43
                                                <null>.</null>
44
                                                <value>$MinimumElevation</value>
45
                                            </_nullIf>
46
                                        </value>
47
                                    </_replace>
48
                                </value>
49
                            </_rangeStart>
50
                        </value>
51
                    </_units>
52
                </min>
53
            </_avg>
54
        </elevation>
55
        <elevationrange>
56
            <_range>
57
                <from>
58
                    <_units>
59
                        <default>m</default>
60
                        <to>m</to>
61
                        <to></to>
62
                        <value>
63
                            <_rangeStart>
64
                                <value>
65
                                    <_replace>
66
                                        <\bca\.?></\bca\.?>
67
                                        <value>
68
                                            <_nullIf>
69
                                                <null>.</null>
70
                                                <value>$MinimumElevation</value>
71
                                            </_nullIf>
72
                                        </value>
73
                                    </_replace>
74
                                </value>
75
                            </_rangeStart>
76
                        </value>
77
                    </_units>
78
                </from>
79
                <to>
80
                    <_units>
81
                        <default>m</default>
82
                        <to>m</to>
83
                        <to></to>
84
                        <value>
85
                            <_alt>
86
                                <1>
87
                                    <_replace>
88
                                        <\bca\.?></\bca\.?>
89
                                        <value>$MaximumElevation</value>
90
                                    </_replace>
91
                                </1>
92
                                <2>
93
                                    <_rangeEnd>
94
                                        <value>
95
                                            <_replace>
96
                                                <\bca\.?></\bca\.?>
97
                                                <value>
98
                                                    <_nullIf>
99
                                                        <null>.</null>
100
                                                        <value>$MinimumElevation</value>
101
                                                    </_nullIf>
102
                                                </value>
103
                                            </_replace>
104
                                        </value>
105
                                    </_rangeEnd>
106
                                </2>
107
                            </_alt>
108
                        </value>
109
                    </_units>
110
                </to>
111
            </_range>
112
        </elevationrange>
113
        <locationdetermination>
114
            <coordsaccuracy><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy>
115
            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
116
            <latitude>
117
                <_nullIf>
118
                    <null>0</null>
119
                    <type>float</type>
120
                    <value>$Latitude</value>
121
                </_nullIf>
122
            </latitude>
123
            <longitude>
124
                <_nullIf>
125
                    <null>0</null>
126
                    <type>float</type>
127
                    <value>$Longitude</value>
128
                </_nullIf>
129
            </longitude>
130
            <namedplace_id>
131
                <_simplifyPath>
132
                    <next>parent_id/namedplace</next>
133
                    <require>placename</require>
134
                    <path>
135
                        <namedplace>
136
                            <rank>county</rank>
137
                            <placename>$County</placename>
138
                            <parent_id>
139
                                <namedplace>
140
                                    <rank>stateProvince</rank>
141
                                    <placename>$StateProvince</placename>
142
                                    <parent_id>
143
                                        <namedplace>
144
                                            <rank>country</rank>
145
                                            <placename>$Country</placename>
146
                                            <parent_id>
147
                                                <namedplace>
148
                                                    <rank>continent</rank>
149
                                                    <placename>$ContinentOcean</placename>
150
                                                </namedplace>
151
                                            </parent_id>
152
                                        </namedplace>
153
                                    </parent_id>
154
                                </namedplace>
155
                            </parent_id>
156
                        </namedplace>
157
                    </path>
158
                </_simplifyPath>
159
            </namedplace_id>
160
        </locationdetermination>
161
        <locationevent>
162
            <obsenddate>
163
                <_date>
164
                    <date>
165
                        <_dateRangeEnd>
166
                            <value>
167
                                <_date>
168
                                    <day>
169
                                        <_nullIf>
170
                                            <null>0</null>
171
                                            <type>float</type>
172
                                            <value>$DayCollected</value>
173
                                        </_nullIf>
174
                                    </day>
175
                                    <month>
176
                                        <_nullIf>
177
                                            <null>0</null>
178
                                            <type>float</type>
179
                                            <value>$MonthCollected</value>
180
                                        </_nullIf>
181
                                    </month>
182
                                    <year>
183
                                        <_nullIf>
184
                                            <null>0</null>
185
                                            <type>float</type>
186
                                            <value>$YearCollected</value>
187
                                        </_nullIf>
188
                                    </year>
189
                                </_date>
190
                            </value>
191
                        </_dateRangeEnd>
192
                    </date>
193
                </_date>
194
            </obsenddate>
195
            <obsstartdate>
196
                <_date>
197
                    <date>
198
                        <_dateRangeStart>
199
                            <value>
200
                                <_date>
201
                                    <day>
202
                                        <_nullIf>
203
                                            <null>0</null>
204
                                            <type>float</type>
205
                                            <value>$DayCollected</value>
206
                                        </_nullIf>
207
                                    </day>
208
                                    <month>
209
                                        <_nullIf>
210
                                            <null>0</null>
211
                                            <type>float</type>
212
                                            <value>$MonthCollected</value>
213
                                        </_nullIf>
214
                                    </month>
215
                                    <year>
216
                                        <_nullIf>
217
                                            <null>0</null>
218
                                            <type>float</type>
219
                                            <value>$YearCollected</value>
220
                                        </_nullIf>
221
                                    </year>
222
                                </_date>
223
                            </value>
224
                        </_dateRangeStart>
225
                    </date>
226
                </_date>
227
            </obsstartdate>
228
            <taxonoccurrence>
229
                <aggregateoccurrence>
230
                    <collectiondate>
231
                        <_date>
232
                            <date>
233
                                <_date>
234
                                    <day>
235
                                        <_nullIf>
236
                                            <null>0</null>
237
                                            <type>float</type>
238
                                            <value>$DayCollected</value>
239
                                        </_nullIf>
240
                                    </day>
241
                                    <month>
242
                                        <_nullIf>
243
                                            <null>0</null>
244
                                            <type>float</type>
245
                                            <value>$MonthCollected</value>
246
                                        </_nullIf>
247
                                    </month>
248
                                    <year>
249
                                        <_nullIf>
250
                                            <null>0</null>
251
                                            <type>float</type>
252
                                            <value>$YearCollected</value>
253
                                        </_nullIf>
254
                                    </year>
255
                                </_date>
256
                            </date>
257
                        </_date>
258
                    </collectiondate>
259
                    <count>$IndividualCount</count>
260
                    <notes>
261
                        <_merge>
262
                            <1>$Notes</1>
263
                            <2>
264
                                <_label>
265
                                    <label>plant fungus</label>
266
                                    <value>$PlantFungusDescription</value>
267
                                </_label>
268
                            </2>
269
                        </_merge>
270
                    </notes>
271
                    <plantobservation>
272
                        <collectionnumber>
273
                            <_alt>
274
                                <1>$CollectorNumber</1>
275
                                <2>$FieldNumber</2>
276
                            </_alt>
277
                        </collectionnumber>
278
                        <definedvalue fkey="tablerecord_id">
279
                            <userdefined_id>
280
                                <userdefined>
281
                                    <tablename>plantobservation</tablename>
282
                                    <userdefinedname>sex</userdefinedname>
283
                                </userdefined>
284
                            </userdefined_id>
285
                            <definedvalue>$Sex</definedvalue>
286
                        </definedvalue>
287
                        <specimenreplicate>
288
                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
289
                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
290
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
291
                            <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
292
                        </specimenreplicate>
293
                    </plantobservation>
294
                </aggregateoccurrence>
295
                <authortaxoncode>
296
                    <_alt>
297
                        <1>
298
                            <_alt>
299
                                <1>$CollectorNumber</1>
300
                                <2>$FieldNumber</2>
301
                            </_alt>
302
                        </1>
303
                        <2>$ScientificName</2>
304
                    </_alt>
305
                </authortaxoncode>
306
                <taxondetermination>
307
                    <isoriginal>true</isoriginal>
308
                    <role>identifier</role>
309
                    <party_id>
310
                        <party>
311
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
312
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
313
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
314
                        </party>
315
                    </party_id>
316
                    <plantconcept_id>
317
                        <plantconcept>
318
                            <plantname_id>
319
                                <_simplifyPath>
320
                                    <next>parent_id/plantname</next>
321
                                    <require>plantname</require>
322
                                    <path>
323
                                        <plantname>
324
                                            <rank>binomial</rank>
325
                                            <plantname>$ScientificName</plantname>
326
                                            <parent_id>
327
                                                <plantname>
328
                                                    <rank>authority</rank>
329
                                                    <plantname>$ScientificNameAuthor</plantname>
330
                                                    <parent_id>
331
                                                        <plantname>
332
                                                            <rank>subspecies</rank>
333
                                                            <plantname>$Subspecies</plantname>
334
                                                            <parent_id>
335
                                                                <plantname>
336
                                                                    <rank>species</rank>
337
                                                                    <plantname>$Species</plantname>
338
                                                                    <parent_id>
339
                                                                        <plantname>
340
                                                                            <rank>genus</rank>
341
                                                                            <plantname>$Genus</plantname>
342
                                                                            <parent_id>
343
                                                                                <plantname>
344
                                                                                    <rank>family</rank>
345
                                                                                    <plantname>$Family</plantname>
346
                                                                                    <parent_id>
347
                                                                                        <plantname>
348
                                                                                            <rank>order</rank>
349
                                                                                            <plantname>$Order</plantname>
350
                                                                                            <parent_id>
351
                                                                                                <plantname>
352
                                                                                                    <rank>class</rank>
353
                                                                                                    <plantname>$Class</plantname>
354
                                                                                                    <parent_id>
355
                                                                                                        <plantname>
356
                                                                                                            <rank>subkingdom</rank>
357
                                                                                                            <plantname>$Phylum</plantname>
358
                                                                                                            <parent_id>
359
                                                                                                                <plantname>
360
                                                                                                                    <rank>kingdom</rank>
361
                                                                                                                    <plantname>$Kingdom</plantname>
362
                                                                                                                </plantname>
363
                                                                                                            </parent_id>
364
                                                                                                        </plantname>
365
                                                                                                    </parent_id>
366
                                                                                                </plantname>
367
                                                                                            </parent_id>
368
                                                                                        </plantname>
369
                                                                                    </parent_id>
370
                                                                                </plantname>
371
                                                                            </parent_id>
372
                                                                        </plantname>
373
                                                                    </parent_id>
374
                                                                </plantname>
375
                                                            </parent_id>
376
                                                        </plantname>
377
                                                    </parent_id>
378
                                                </plantname>
379
                                            </parent_id>
380
                                        </plantname>
381
                                    </path>
382
                                </_simplifyPath>
383
                            </plantname_id>
384
                        </plantconcept>
385
                    </plantconcept_id>
386
                    <determinationdate>
387
                        <_date>
388
                            <date>
389
                                <_dateRangeStart>
390
                                    <value>
391
                                        <_date>
392
                                            <day>
393
                                                <_nullIf>
394
                                                    <null>0</null>
395
                                                    <type>float</type>
396
                                                    <value>$DayIdentified</value>
397
                                                </_nullIf>
398
                                            </day>
399
                                            <month>
400
                                                <_nullIf>
401
                                                    <null>0</null>
402
                                                    <type>float</type>
403
                                                    <value>$MonthIdentified</value>
404
                                                </_nullIf>
405
                                            </month>
406
                                            <year>
407
                                                <_nullIf>
408
                                                    <null>0</null>
409
                                                    <type>float</type>
410
                                                    <value>$YearIdentified</value>
411
                                                </_nullIf>
412
                                            </year>
413
                                        </_date>
414
                                    </value>
415
                                </_dateRangeStart>
416
                            </date>
417
                        </_date>
418
                    </determinationdate>
419
                </taxondetermination>
420
                <verbatimcollectorname>$Collector</verbatimcollectorname>
421
                <voucher><specimenreplicate_id><specimenreplicate><catalognumber_dwc/></specimenreplicate></specimenreplicate_id></voucher>
422
            </taxonoccurrence>
423
            <waterdepth>
424
                <_avg>
425
                    <max>
426
                        <_units>
427
                            <default>m</default>
428
                            <to>m</to>
429
                            <to></to>
430
                            <value>
431
                                <_replace>
432
                                    <\bca\.?></\bca\.?>
433
                                    <value>$MaximumDepth</value>
434
                                </_replace>
435
                            </value>
436
                        </_units>
437
                    </max>
438
                    <min>
439
                        <_units>
440
                            <default>m</default>
441
                            <to>m</to>
442
                            <to></to>
443
                            <value>
444
                                <_replace>
445
                                    <\bca\.?></\bca\.?>
446
                                    <value>$MinimumDepth</value>
447
                                </_replace>
448
                            </value>
449
                        </_units>
450
                    </min>
451
                </_avg>
452
            </waterdepth>
453
        </locationevent>
454
        <locationnarrative>
455
            <_merge>
456
                <1>
457
                    <_merge>
458
                        <1>$Locality</1>
459
                        <2>
460
                            <_label>
461
                                <label>substrate</label>
462
                                <value>$Substrate</value>
463
                            </_label>
464
                        </2>
465
                        <3>
466
                            <_label>
467
                                <label>vegetation</label>
468
                                <value>$Vegetation</value>
469
                            </_label>
470
                        </3>
471
                    </_merge>
472
                </1>
473
                <3>
474
                    <_label>
475
                        <label>habitat</label>
476
                        <value>$Habitat</value>
477
                    </_label>
478
                </3>
479
            </_merge>
480
        </locationnarrative>
481
    </location>
482
</VegBIEN>
483
Inserted 39 new rows into database
(7-7/7)