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