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