Project

General

Profile

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