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