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><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
103
                                                            <2>
104
                                                                <_join_words>
105
                                                                    <1>
106
                                                                        <_alt>
107
                                                                            <1>$ScientificName</1>
108
                                                                            <2>
109
                                                                                <_join_words>
110
                                                                                    <2>$Genus</2>
111
                                                                                    <3>$Species</3>
112
                                                                                    <4>$Subspecies</4>
113
                                                                                </_join_words>
114
                                                                            </2>
115
                                                                        </_alt>
116
                                                                    </1>
117
                                                                    <2>$ScientificNameAuthor</2>
118
                                                                </_join_words>
119
                                                            </2>
120
                                                        </_join_words>
121
                                                    </taxonomicname>
122
                                                </taxonlabel>
123
                                            </matched_label_id>
124
                                            <creationdate>
125
                                                <_date>
126
                                                    <day>
127
                                                        <_nullIf>
128
                                                            <null>0</null>
129
                                                            <type>float</type>
130
                                                            <value>$DayIdentified</value>
131
                                                        </_nullIf>
132
                                                    </day>
133
                                                    <month>
134
                                                        <_nullIf>
135
                                                            <null>0</null>
136
                                                            <type>float</type>
137
                                                            <value>$MonthIdentified</value>
138
                                                        </_nullIf>
139
                                                    </month>
140
                                                    <year>
141
                                                        <_nullIf>
142
                                                            <null>0</null>
143
                                                            <type>float</type>
144
                                                            <value>$YearIdentified</value>
145
                                                        </_nullIf>
146
                                                    </year>
147
                                                </_date>
148
                                            </creationdate>
149
                                            <parent_id>
150
                                                <taxonlabel>
151
                                                    <parent_id>
152
                                                        <taxonlabel>
153
                                                            <rank>cultivar</rank>
154
                                                            <parent_id>
155
                                                                <taxonlabel>
156
                                                                    <rank>forma</rank>
157
                                                                    <parent_id>
158
                                                                        <taxonlabel>
159
                                                                            <rank>variety</rank>
160
                                                                            <parent_id>
161
                                                                                <taxonlabel>
162
                                                                                    <rank>subspecies</rank>
163
                                                                                    <taxonepithet>$Subspecies</taxonepithet>
164
                                                                                    <parent_id>
165
                                                                                        <taxonlabel>
166
                                                                                            <rank>species</rank>
167
                                                                                            <taxonepithet>$Species</taxonepithet>
168
                                                                                            <parent_id>
169
                                                                                                <taxonlabel>
170
                                                                                                    <rank>genus</rank>
171
                                                                                                    <taxonepithet>$Genus</taxonepithet>
172
                                                                                                    <parent_id>
173
                                                                                                        <taxonlabel>
174
                                                                                                            <rank>family</rank>
175
                                                                                                            <taxonepithet>$Family</taxonepithet>
176
                                                                                                            <parent_id>
177
                                                                                                                <taxonlabel>
178
                                                                                                                    <rank>order</rank>
179
                                                                                                                    <taxonepithet>$Order</taxonepithet>
180
                                                                                                                    <parent_id>
181
                                                                                                                        <taxonlabel>
182
                                                                                                                            <rank>class</rank>
183
                                                                                                                            <taxonepithet>$Class</taxonepithet>
184
                                                                                                                            <parent_id>
185
                                                                                                                                <taxonlabel>
186
                                                                                                                                    <rank>phylum</rank>
187
                                                                                                                                    <taxonepithet>$Phylum</taxonepithet>
188
                                                                                                                                    <parent_id>
189
                                                                                                                                        <taxonlabel>
190
                                                                                                                                            <rank>kingdom</rank>
191
                                                                                                                                            <taxonepithet>$Kingdom</taxonepithet>
192
                                                                                                                                        </taxonlabel>
193
                                                                                                                                    </parent_id>
194
                                                                                                                                </taxonlabel>
195
                                                                                                                            </parent_id>
196
                                                                                                                        </taxonlabel>
197
                                                                                                                    </parent_id>
198
                                                                                                                </taxonlabel>
199
                                                                                                            </parent_id>
200
                                                                                                        </taxonlabel>
201
                                                                                                    </parent_id>
202
                                                                                                </taxonlabel>
203
                                                                                            </parent_id>
204
                                                                                        </taxonlabel>
205
                                                                                    </parent_id>
206
                                                                                </taxonlabel>
207
                                                                            </parent_id>
208
                                                                        </taxonlabel>
209
                                                                    </parent_id>
210
                                                                </taxonlabel>
211
                                                            </parent_id>
212
                                                        </taxonlabel>
213
                                                    </parent_id>
214
                                                </taxonlabel>
215
                                            </parent_id>
216
                                            <taxonomicname>
217
                                                <_join_words>
218
                                                    <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
219
                                                    <2>
220
                                                        <_join_words>
221
                                                            <1>
222
                                                                <_alt>
223
                                                                    <1>$ScientificName</1>
224
                                                                    <2>
225
                                                                        <_join_words>
226
                                                                            <2>$Genus</2>
227
                                                                            <3>$Species</3>
228
                                                                            <4>$Subspecies</4>
229
                                                                        </_join_words>
230
                                                                    </2>
231
                                                                </_alt>
232
                                                            </1>
233
                                                            <2>$ScientificNameAuthor</2>
234
                                                        </_join_words>
235
                                                    </2>
236
                                                </_join_words>
237
                                            </taxonomicname>
238
                                        </taxonlabel>
239
                                    </taxonlabel_id>
240
                                    <author>$ScientificNameAuthor</author>
241
                                    <family>$Family</family>
242
                                    <genus>$Genus</genus>
243
                                    <specific_epithet>$Species</specific_epithet>
244
                                    <taxonname>$ScientificName</taxonname>
245
                                </taxonverbatim>
246
                            </taxonverbatim_id>
247
                            <determinationdate>
248
                                <_date>
249
                                    <day>
250
                                        <_nullIf>
251
                                            <null>0</null>
252
                                            <type>float</type>
253
                                            <value>$DayIdentified</value>
254
                                        </_nullIf>
255
                                    </day>
256
                                    <month>
257
                                        <_nullIf>
258
                                            <null>0</null>
259
                                            <type>float</type>
260
                                            <value>$MonthIdentified</value>
261
                                        </_nullIf>
262
                                    </month>
263
                                    <year>
264
                                        <_nullIf>
265
                                            <null>0</null>
266
                                            <type>float</type>
267
                                            <value>$YearIdentified</value>
268
                                        </_nullIf>
269
                                    </year>
270
                                </_date>
271
                            </determinationdate>
272
                        </taxondetermination>
273
                    </taxonoccurrence>
274
                    <waterdepth_m>
275
                        <_avg>
276
                            <max>$MaximumDepth</max>
277
                            <min>$MinimumDepth</min>
278
                        </_avg>
279
                    </waterdepth_m>
280
                </locationevent>
281
                <locationnarrative>
282
                    <_merge>
283
                        <1>
284
                            <_join>
285
                                <1>$Locality</1>
286
                                <2>
287
                                    <_label>
288
                                        <label>substrate</label>
289
                                        <value>$Substrate</value>
290
                                    </_label>
291
                                </2>
292
                                <3>
293
                                    <_label>
294
                                        <label>vegetation</label>
295
                                        <value>$Vegetation</value>
296
                                    </_label>
297
                                </3>
298
                            </_join>
299
                        </1>
300
                        <3>
301
                            <_label>
302
                                <label>habitat</label>
303
                                <value>$Habitat</value>
304
                            </_label>
305
                        </3>
306
                    </_merge>
307
                </locationnarrative>
308
                <locationplace>
309
                    <place_id>
310
                        <place>
311
                            <coordinates_id>
312
                                <coordinates>
313
                                    <coordsaccuracy_deg><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_deg>
314
                                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
315
                                    <latitude_deg>
316
                                        <_nullIf>
317
                                            <null>0</null>
318
                                            <type>float</type>
319
                                            <value>$Latitude</value>
320
                                        </_nullIf>
321
                                    </latitude_deg>
322
                                    <longitude_deg>
323
                                        <_nullIf>
324
                                            <null>0</null>
325
                                            <type>float</type>
326
                                            <value>$Longitude</value>
327
                                        </_nullIf>
328
                                    </longitude_deg>
329
                                </coordinates>
330
                            </coordinates_id>
331
                            <continent>$ContinentOcean</continent>
332
                            <country>$Country</country>
333
                            <county>$County</county>
334
                            <matched_place_id>
335
                                <place>
336
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
337
                                    <coordinates_id>
338
                                        <coordinates>
339
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
340
                                            <latitude_deg>
341
                                                <_nullIf>
342
                                                    <null>0</null>
343
                                                    <type>float</type>
344
                                                    <value>$Latitude</value>
345
                                                </_nullIf>
346
                                            </latitude_deg>
347
                                            <longitude_deg>
348
                                                <_nullIf>
349
                                                    <null>0</null>
350
                                                    <type>float</type>
351
                                                    <value>$Longitude</value>
352
                                                </_nullIf>
353
                                            </longitude_deg>
354
                                        </coordinates>
355
                                    </coordinates_id>
356
                                    <country>$Country</country>
357
                                    <stateprovince>$StateProvince</stateprovince>
358
                                </place>
359
                            </matched_place_id>
360
                            <stateprovince>$StateProvince</stateprovince>
361
                        </place>
362
                    </place_id>
363
                </locationplace>
364
            </location>
365
        </path>
366
    </_simplifyPath>
367
</VegBIEN>
368
Inserted 45 new rows into database
(5-5/6)