Project

General

Profile

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