Project

General

Profile

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