Project

General

Profile

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