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
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
99
                                                    <taxonomicname>
100
                                                        <_join_words>
101
                                                            <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
102
                                                            <2>
103
                                                                <_join_words>
104
                                                                    <1>
105
                                                                        <_alt>
106
                                                                            <1>$ScientificName</1>
107
                                                                            <2>
108
                                                                                <_join_words>
109
                                                                                    <2>$Genus</2>
110
                                                                                    <3>$Species</3>
111
                                                                                    <4>$Subspecies</4>
112
                                                                                </_join_words>
113
                                                                            </2>
114
                                                                        </_alt>
115
                                                                    </1>
116
                                                                    <2>$ScientificNameAuthor</2>
117
                                                                </_join_words>
118
                                                            </2>
119
                                                        </_join_words>
120
                                                    </taxonomicname>
121
                                                </taxonlabel>
122
                                            </matched_label_id>
123
                                            <creationdate>
124
                                                <_date>
125
                                                    <day>
126
                                                        <_nullIf>
127
                                                            <null>0</null>
128
                                                            <type>float</type>
129
                                                            <value>$DayIdentified</value>
130
                                                        </_nullIf>
131
                                                    </day>
132
                                                    <month>
133
                                                        <_nullIf>
134
                                                            <null>0</null>
135
                                                            <type>float</type>
136
                                                            <value>$MonthIdentified</value>
137
                                                        </_nullIf>
138
                                                    </month>
139
                                                    <year>
140
                                                        <_nullIf>
141
                                                            <null>0</null>
142
                                                            <type>float</type>
143
                                                            <value>$YearIdentified</value>
144
                                                        </_nullIf>
145
                                                    </year>
146
                                                </_date>
147
                                            </creationdate>
148
                                            <parent_id>
149
                                                <taxonlabel>
150
                                                    <parent_id>
151
                                                        <taxonlabel>
152
                                                            <rank>cultivar</rank>
153
                                                            <parent_id>
154
                                                                <taxonlabel>
155
                                                                    <rank>forma</rank>
156
                                                                    <parent_id>
157
                                                                        <taxonlabel>
158
                                                                            <rank>variety</rank>
159
                                                                            <parent_id>
160
                                                                                <taxonlabel>
161
                                                                                    <rank>subspecies</rank>
162
                                                                                    <taxonepithet>$Subspecies</taxonepithet>
163
                                                                                    <parent_id>
164
                                                                                        <taxonlabel>
165
                                                                                            <rank>species</rank>
166
                                                                                            <taxonepithet>$Species</taxonepithet>
167
                                                                                            <parent_id>
168
                                                                                                <taxonlabel>
169
                                                                                                    <rank>genus</rank>
170
                                                                                                    <taxonepithet>$Genus</taxonepithet>
171
                                                                                                    <parent_id>
172
                                                                                                        <taxonlabel>
173
                                                                                                            <rank>family</rank>
174
                                                                                                            <taxonepithet>$Family</taxonepithet>
175
                                                                                                            <parent_id>
176
                                                                                                                <taxonlabel>
177
                                                                                                                    <rank>order</rank>
178
                                                                                                                    <taxonepithet>$Order</taxonepithet>
179
                                                                                                                    <parent_id>
180
                                                                                                                        <taxonlabel>
181
                                                                                                                            <rank>class</rank>
182
                                                                                                                            <taxonepithet>$Class</taxonepithet>
183
                                                                                                                            <parent_id>
184
                                                                                                                                <taxonlabel>
185
                                                                                                                                    <rank>phylum</rank>
186
                                                                                                                                    <taxonepithet>$Phylum</taxonepithet>
187
                                                                                                                                    <parent_id>
188
                                                                                                                                        <taxonlabel>
189
                                                                                                                                            <rank>kingdom</rank>
190
                                                                                                                                            <taxonepithet>$Kingdom</taxonepithet>
191
                                                                                                                                        </taxonlabel>
192
                                                                                                                                    </parent_id>
193
                                                                                                                                </taxonlabel>
194
                                                                                                                            </parent_id>
195
                                                                                                                        </taxonlabel>
196
                                                                                                                    </parent_id>
197
                                                                                                                </taxonlabel>
198
                                                                                                            </parent_id>
199
                                                                                                        </taxonlabel>
200
                                                                                                    </parent_id>
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
                                            <taxonomicname>
216
                                                <_join_words>
217
                                                    <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
218
                                                    <2>
219
                                                        <_join_words>
220
                                                            <1>
221
                                                                <_alt>
222
                                                                    <1>$ScientificName</1>
223
                                                                    <2>
224
                                                                        <_join_words>
225
                                                                            <2>$Genus</2>
226
                                                                            <3>$Species</3>
227
                                                                            <4>$Subspecies</4>
228
                                                                        </_join_words>
229
                                                                    </2>
230
                                                                </_alt>
231
                                                            </1>
232
                                                            <2>$ScientificNameAuthor</2>
233
                                                        </_join_words>
234
                                                    </2>
235
                                                </_join_words>
236
                                            </taxonomicname>
237
                                        </taxonlabel>
238
                                    </taxonlabel_id>
239
                                    <author>$ScientificNameAuthor</author>
240
                                    <family>$Family</family>
241
                                    <genus>$Genus</genus>
242
                                    <specific_epithet>$Species</specific_epithet>
243
                                    <taxonname>$ScientificName</taxonname>
244
                                </taxonverbatim>
245
                            </taxonverbatim_id>
246
                            <determinationdate>
247
                                <_date>
248
                                    <day>
249
                                        <_nullIf>
250
                                            <null>0</null>
251
                                            <type>float</type>
252
                                            <value>$DayIdentified</value>
253
                                        </_nullIf>
254
                                    </day>
255
                                    <month>
256
                                        <_nullIf>
257
                                            <null>0</null>
258
                                            <type>float</type>
259
                                            <value>$MonthIdentified</value>
260
                                        </_nullIf>
261
                                    </month>
262
                                    <year>
263
                                        <_nullIf>
264
                                            <null>0</null>
265
                                            <type>float</type>
266
                                            <value>$YearIdentified</value>
267
                                        </_nullIf>
268
                                    </year>
269
                                </_date>
270
                            </determinationdate>
271
                        </taxondetermination>
272
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
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
                            <stateprovince>$StateProvince</stateprovince>
335
                        </place>
336
                    </place_id>
337
                </locationplace>
338
            </location>
339
        </path>
340
    </_simplifyPath>
341
</VegBIEN>
342
Inserted 38 new rows into database
(5-5/6)