Project

General

Profile

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