Project

General

Profile

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