Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>NY</shortname></source></source_id>
5 4621 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11 6485 aaronmk
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>$CatalogNumber</3>
15
                            </_join>
16 6403 aaronmk
                        </authorlocationcode>
17
                        <elevation_m>
18
                            <_avg>
19
                                <max>$MaximumElevation</max>
20
                                <min>
21
                                    <_nullIf>
22
                                        <null>.</null>
23
                                        <value>$MinimumElevation</value>
24
                                    </_nullIf>
25
                                </min>
26
                            </_avg>
27
                        </elevation_m>
28 6432 aaronmk
                        <iscultivated>
29
                            <_locationnarrative_is_cultivated>
30
                                <locationnarrative>
31
                                    <_join>
32
                                        <1>
33
                                            <_join>
34
                                                <1>$Locality</1>
35
                                                <2>
36
                                                    <_label>
37
                                                        <label>substrate</label>
38
                                                        <value>$Substrate</value>
39
                                                    </_label>
40
                                                </2>
41
                                                <3>
42
                                                    <_label>
43
                                                        <label>vegetation</label>
44
                                                        <value>$Vegetation</value>
45
                                                    </_label>
46
                                                </3>
47
                                            </_join>
48
                                        </1>
49
                                        <3>$Habitat</3>
50
                                    </_join>
51
                                </locationnarrative>
52
                            </_locationnarrative_is_cultivated>
53
                        </iscultivated>
54 6403 aaronmk
                        <locationevent>
55
                            <taxonoccurrence>
56
                                <aggregateoccurrence>
57
                                    <collectiondate>
58
                                        <_date>
59
                                            <day>
60
                                                <_nullIf>
61
                                                    <null>0</null>
62
                                                    <type>float</type>
63
                                                    <value>$DayCollected</value>
64
                                                </_nullIf>
65
                                            </day>
66
                                            <month>
67
                                                <_nullIf>
68
                                                    <null>0</null>
69
                                                    <type>float</type>
70
                                                    <value>$MonthCollected</value>
71
                                                </_nullIf>
72
                                            </month>
73
                                            <year>
74
                                                <_nullIf>
75
                                                    <null>0</null>
76
                                                    <type>float</type>
77
                                                    <value>$YearCollected</value>
78
                                                </_nullIf>
79
                                            </year>
80
                                        </_date>
81
                                    </collectiondate>
82
                                    <count>$IndividualCount</count>
83
                                    <notes>
84
                                        <_join>
85
                                            <1>$Notes</1>
86
                                            <2>
87
                                                <_label>
88
                                                    <label>plant fungus</label>
89
                                                    <value>$PlantFungusDescription</value>
90
                                                </_label>
91
                                            </2>
92
                                        </_join>
93
                                    </notes>
94
                                    <plantobservation>
95
                                        <collectionnumber>$FieldNumber</collectionnumber>
96
                                        <definedvalue fkey="tablerecord_id">
97
                                            <userdefined_id>
98
                                                <userdefined>
99
                                                    <tablename>plantobservation</tablename>
100
                                                    <userdefinedname>sex</userdefinedname>
101
                                                </userdefined>
102
                                            </userdefined_id>
103
                                            <definedvalue>$Sex</definedvalue>
104
                                        </definedvalue>
105
                                        <specimenreplicate>
106
                                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
107
                                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
108
                                            <institution_id>
109 6791 aaronmk
                                                <sourcelist>
110 6403 aaronmk
                                                    <name>$InstitutionCode</name>
111 6791 aaronmk
                                                    <sourcename>
112 6795 aaronmk
                                                        <name>
113
                                                            <_split>
114
                                                                <separator>, </separator>
115
                                                                <value>$InstitutionCode</value>
116
                                                            </_split>
117
                                                        </name>
118 6791 aaronmk
                                                    </sourcename>
119
                                                </sourcelist>
120 6403 aaronmk
                                            </institution_id>
121
                                        </specimenreplicate>
122
                                    </plantobservation>
123
                                </aggregateoccurrence>
124
                                <collector_id><party><fullname>$Collector</fullname></party></collector_id>
125
                                <taxondetermination>
126
                                    <party_id><party><fullname>$IdentifiedBy</fullname></party></party_id>
127
                                    <taxonverbatim_id>
128
                                        <taxonverbatim>
129
                                            <taxonlabel_id>
130 5657 aaronmk
                                                <taxonlabel>
131 6403 aaronmk
                                                    <matched_label_id>
132
                                                        <taxonlabel>
133
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
134
                                                            <taxonomicname>
135 5788 aaronmk
                                                                <_join_words>
136
                                                                    <1>
137 6403 aaronmk
                                                                        <_taxon_family_require_std>
138
                                                                            <family>
139
                                                                                <_nullIf>
140
                                                                                    <null>$ScientificName</null>
141
                                                                                    <value>$Family</value>
142
                                                                                </_nullIf>
143
                                                                            </family>
144
                                                                        </_taxon_family_require_std>
145 5788 aaronmk
                                                                    </1>
146 6403 aaronmk
                                                                    <2>
147
                                                                        <_join_words>
148
                                                                            <1>
149
                                                                                <_alt>
150
                                                                                    <1>$ScientificName</1>
151
                                                                                    <2>
152
                                                                                        <_join_words>
153
                                                                                            <2>$Genus</2>
154
                                                                                            <3>$Species</3>
155
                                                                                            <4>$Subspecies</4>
156
                                                                                        </_join_words>
157
                                                                                    </2>
158
                                                                                </_alt>
159
                                                                            </1>
160
                                                                            <2>$ScientificNameAuthor</2>
161
                                                                        </_join_words>
162
                                                                    </2>
163 5788 aaronmk
                                                                </_join_words>
164 6403 aaronmk
                                                            </taxonomicname>
165
                                                        </taxonlabel>
166
                                                    </matched_label_id>
167
                                                    <creationdate>
168
                                                        <_date>
169
                                                            <day>
170
                                                                <_nullIf>
171
                                                                    <null>0</null>
172
                                                                    <type>float</type>
173
                                                                    <value>$DayIdentified</value>
174
                                                                </_nullIf>
175
                                                            </day>
176
                                                            <month>
177
                                                                <_nullIf>
178
                                                                    <null>0</null>
179
                                                                    <type>float</type>
180
                                                                    <value>$MonthIdentified</value>
181
                                                                </_nullIf>
182
                                                            </month>
183
                                                            <year>
184
                                                                <_nullIf>
185
                                                                    <null>0</null>
186
                                                                    <type>float</type>
187
                                                                    <value>$YearIdentified</value>
188
                                                                </_nullIf>
189
                                                            </year>
190
                                                        </_date>
191
                                                    </creationdate>
192 5294 aaronmk
                                                    <parent_id>
193 5608 aaronmk
                                                        <taxonlabel>
194 5294 aaronmk
                                                            <parent_id>
195 5608 aaronmk
                                                                <taxonlabel>
196 6403 aaronmk
                                                                    <rank>cultivar</rank>
197 5294 aaronmk
                                                                    <parent_id>
198 5608 aaronmk
                                                                        <taxonlabel>
199 6403 aaronmk
                                                                            <rank>forma</rank>
200 5294 aaronmk
                                                                            <parent_id>
201 5608 aaronmk
                                                                                <taxonlabel>
202 6403 aaronmk
                                                                                    <rank>variety</rank>
203 5294 aaronmk
                                                                                    <parent_id>
204 5608 aaronmk
                                                                                        <taxonlabel>
205 6403 aaronmk
                                                                                            <rank>subspecies</rank>
206
                                                                                            <taxonepithet>$Subspecies</taxonepithet>
207 5294 aaronmk
                                                                                            <parent_id>
208 5608 aaronmk
                                                                                                <taxonlabel>
209 6403 aaronmk
                                                                                                    <rank>species</rank>
210
                                                                                                    <taxonepithet>$Species</taxonepithet>
211 5294 aaronmk
                                                                                                    <parent_id>
212 5608 aaronmk
                                                                                                        <taxonlabel>
213 6403 aaronmk
                                                                                                            <rank>genus</rank>
214
                                                                                                            <taxonepithet>$Genus</taxonepithet>
215 5294 aaronmk
                                                                                                            <parent_id>
216 5608 aaronmk
                                                                                                                <taxonlabel>
217 6403 aaronmk
                                                                                                                    <rank>family</rank>
218
                                                                                                                    <taxonepithet>$Family</taxonepithet>
219 5294 aaronmk
                                                                                                                    <parent_id>
220 5608 aaronmk
                                                                                                                        <taxonlabel>
221 6403 aaronmk
                                                                                                                            <rank>order</rank>
222
                                                                                                                            <taxonepithet>$Order</taxonepithet>
223 5306 aaronmk
                                                                                                                            <parent_id>
224 5608 aaronmk
                                                                                                                                <taxonlabel>
225 6403 aaronmk
                                                                                                                                    <rank>class</rank>
226
                                                                                                                                    <taxonepithet>$Class</taxonepithet>
227 5657 aaronmk
                                                                                                                                    <parent_id>
228
                                                                                                                                        <taxonlabel>
229 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
230
                                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
231
                                                                                                                                            <parent_id>
232
                                                                                                                                                <taxonlabel>
233
                                                                                                                                                    <rank>kingdom</rank>
234
                                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
235
                                                                                                                                                </taxonlabel>
236
                                                                                                                                            </parent_id>
237 5657 aaronmk
                                                                                                                                        </taxonlabel>
238
                                                                                                                                    </parent_id>
239 5608 aaronmk
                                                                                                                                </taxonlabel>
240 5306 aaronmk
                                                                                                                            </parent_id>
241 5608 aaronmk
                                                                                                                        </taxonlabel>
242 5294 aaronmk
                                                                                                                    </parent_id>
243 5608 aaronmk
                                                                                                                </taxonlabel>
244 5294 aaronmk
                                                                                                            </parent_id>
245 5608 aaronmk
                                                                                                        </taxonlabel>
246 5294 aaronmk
                                                                                                    </parent_id>
247 5608 aaronmk
                                                                                                </taxonlabel>
248 5294 aaronmk
                                                                                            </parent_id>
249 5608 aaronmk
                                                                                        </taxonlabel>
250 5294 aaronmk
                                                                                    </parent_id>
251 5608 aaronmk
                                                                                </taxonlabel>
252 5294 aaronmk
                                                                            </parent_id>
253 5608 aaronmk
                                                                        </taxonlabel>
254 5294 aaronmk
                                                                    </parent_id>
255 5608 aaronmk
                                                                </taxonlabel>
256 5294 aaronmk
                                                            </parent_id>
257 5608 aaronmk
                                                        </taxonlabel>
258 5294 aaronmk
                                                    </parent_id>
259 6403 aaronmk
                                                    <taxonomicname>
260 5788 aaronmk
                                                        <_join_words>
261
                                                            <1>
262 6403 aaronmk
                                                                <_taxon_family_require_std>
263
                                                                    <family>
264
                                                                        <_nullIf>
265
                                                                            <null>$ScientificName</null>
266
                                                                            <value>$Family</value>
267
                                                                        </_nullIf>
268
                                                                    </family>
269
                                                                </_taxon_family_require_std>
270 5788 aaronmk
                                                            </1>
271 6403 aaronmk
                                                            <2>
272
                                                                <_join_words>
273
                                                                    <1>
274
                                                                        <_alt>
275
                                                                            <1>$ScientificName</1>
276
                                                                            <2>
277
                                                                                <_join_words>
278
                                                                                    <2>$Genus</2>
279
                                                                                    <3>$Species</3>
280
                                                                                    <4>$Subspecies</4>
281
                                                                                </_join_words>
282
                                                                            </2>
283
                                                                        </_alt>
284
                                                                    </1>
285
                                                                    <2>$ScientificNameAuthor</2>
286
                                                                </_join_words>
287
                                                            </2>
288 5788 aaronmk
                                                        </_join_words>
289 6403 aaronmk
                                                    </taxonomicname>
290
                                                </taxonlabel>
291
                                            </taxonlabel_id>
292
                                            <author>$ScientificNameAuthor</author>
293
                                            <family>$Family</family>
294
                                            <genus>$Genus</genus>
295
                                            <specific_epithet>$Species</specific_epithet>
296
                                            <taxonname>$ScientificName</taxonname>
297
                                        </taxonverbatim>
298
                                    </taxonverbatim_id>
299
                                    <determinationdate>
300
                                        <_date>
301
                                            <day>
302
                                                <_nullIf>
303
                                                    <null>0</null>
304
                                                    <type>float</type>
305
                                                    <value>$DayIdentified</value>
306
                                                </_nullIf>
307
                                            </day>
308
                                            <month>
309
                                                <_nullIf>
310
                                                    <null>0</null>
311
                                                    <type>float</type>
312
                                                    <value>$MonthIdentified</value>
313
                                                </_nullIf>
314
                                            </month>
315
                                            <year>
316
                                                <_nullIf>
317
                                                    <null>0</null>
318
                                                    <type>float</type>
319
                                                    <value>$YearIdentified</value>
320
                                                </_nullIf>
321
                                            </year>
322
                                        </_date>
323
                                    </determinationdate>
324
                                </taxondetermination>
325
                            </taxonoccurrence>
326
                            <waterdepth_m>
327
                                <_avg>
328
                                    <max>$MaximumDepth</max>
329
                                    <min>$MinimumDepth</min>
330
                                </_avg>
331
                            </waterdepth_m>
332
                        </locationevent>
333
                        <locationnarrative>
334
                            <_merge>
335
                                <1>
336
                                    <_join>
337
                                        <1>$Locality</1>
338
                                        <2>
339
                                            <_label>
340
                                                <label>substrate</label>
341
                                                <value>$Substrate</value>
342
                                            </_label>
343
                                        </2>
344
                                        <3>
345
                                            <_label>
346
                                                <label>vegetation</label>
347
                                                <value>$Vegetation</value>
348
                                            </_label>
349
                                        </3>
350
                                    </_join>
351
                                </1>
352 4621 aaronmk
                                <3>
353
                                    <_label>
354 6403 aaronmk
                                        <label>habitat</label>
355
                                        <value>$Habitat</value>
356 4621 aaronmk
                                    </_label>
357
                                </3>
358 6403 aaronmk
                            </_merge>
359
                        </locationnarrative>
360
                        <locationplace>
361
                            <place_id>
362 5958 aaronmk
                                <place>
363
                                    <coordinates_id>
364
                                        <coordinates>
365 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_m>
366
                                            <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
367 5969 aaronmk
                                            <latitude_deg>
368
                                                <_nullIf>
369
                                                    <null>0</null>
370
                                                    <type>float</type>
371
                                                    <value>$Latitude</value>
372
                                                </_nullIf>
373
                                            </latitude_deg>
374
                                            <longitude_deg>
375
                                                <_nullIf>
376
                                                    <null>0</null>
377
                                                    <type>float</type>
378
                                                    <value>$Longitude</value>
379
                                                </_nullIf>
380
                                            </longitude_deg>
381 5958 aaronmk
                                        </coordinates>
382
                                    </coordinates_id>
383 6403 aaronmk
                                    <continent>$ContinentOcean</continent>
384 5958 aaronmk
                                    <country>$Country</country>
385 6294 aaronmk
                                    <county>$County</county>
386 6403 aaronmk
                                    <matched_place_id>
387
                                        <place>
388
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
389
                                            <coordinates_id>
390
                                                <coordinates>
391
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
392
                                                    <latitude_deg>
393
                                                        <_nullIf>
394
                                                            <null>0</null>
395
                                                            <type>float</type>
396
                                                            <value>$Latitude</value>
397
                                                        </_nullIf>
398
                                                    </latitude_deg>
399
                                                    <longitude_deg>
400
                                                        <_nullIf>
401
                                                            <null>0</null>
402
                                                            <type>float</type>
403
                                                            <value>$Longitude</value>
404
                                                        </_nullIf>
405
                                                    </longitude_deg>
406
                                                </coordinates>
407
                                            </coordinates_id>
408
                                            <country>$Country</country>
409
                                            <county>$County</county>
410
                                            <stateprovince>$StateProvince</stateprovince>
411
                                        </place>
412
                                    </matched_place_id>
413 5958 aaronmk
                                    <stateprovince>$StateProvince</stateprovince>
414
                                </place>
415 6403 aaronmk
                            </place_id>
416
                        </locationplace>
417
                    </location>
418
                </path>
419
            </_simplifyPath>
420 4621 aaronmk
        </path>
421 6403 aaronmk
    </_setDefault>
422 3641 aaronmk
</VegBIEN>
423 6791 aaronmk
Inserted 46 new rows into database