Project

General

Profile

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