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