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>
125
                                                                <_alt>
126
                                                                    <1>$ScientificName</1>
127
                                                                    <2>
128
                                                                        <_join_words>
129
                                                                            <1>$Family</1>
130
                                                                            <2>$Genus</2>
131
                                                                            <3>$Species</3>
132
                                                                            <4>$Subspecies</4>
133
                                                                        </_join_words>
134
                                                                    </2>
135
                                                                </_alt>
136
                                                            </1>
137
                                                            <2>$ScientificNameAuthor</2>
138
                                                        </_join_words>
139
                                                    </taxonomicname>
140
                                                </taxonlabel>
141
                                            </matched_label_id>
142
                                            <creationdate>
143
                                                <_date>
144
                                                    <day>
145
                                                        <_nullIf>
146
                                                            <null>0</null>
147
                                                            <type>float</type>
148
                                                            <value>$DayIdentified</value>
149
                                                        </_nullIf>
150
                                                    </day>
151
                                                    <month>
152
                                                        <_nullIf>
153
                                                            <null>0</null>
154
                                                            <type>float</type>
155
                                                            <value>$MonthIdentified</value>
156
                                                        </_nullIf>
157
                                                    </month>
158
                                                    <year>
159
                                                        <_nullIf>
160
                                                            <null>0</null>
161
                                                            <type>float</type>
162
                                                            <value>$YearIdentified</value>
163
                                                        </_nullIf>
164
                                                    </year>
165
                                                </_date>
166
                                            </creationdate>
167
                                            <creator_id>
168
                                                <_simplifyPath>
169
                                                    <next>creator_id</next>
170
                                                    <path><party><fullname>$IdentifiedBy</fullname></party></path>
171
                                                </_simplifyPath>
172
                                            </creator_id>
173
                                            <parent_id>
174
                                                <taxonlabel>
175
                                                    <parent_id>
176
                                                        <taxonlabel>
177
                                                            <rank>cultivar</rank>
178
                                                            <parent_id>
179
                                                                <taxonlabel>
180
                                                                    <rank>forma</rank>
181
                                                                    <parent_id>
182
                                                                        <taxonlabel>
183
                                                                            <rank>variety</rank>
184
                                                                            <parent_id>
185
                                                                                <taxonlabel>
186
                                                                                    <rank>subspecies</rank>
187
                                                                                    <taxonepithet>$Subspecies</taxonepithet>
188
                                                                                    <parent_id>
189
                                                                                        <taxonlabel>
190
                                                                                            <rank>species</rank>
191
                                                                                            <taxonepithet>$Species</taxonepithet>
192
                                                                                            <parent_id>
193
                                                                                                <taxonlabel>
194
                                                                                                    <rank>genus</rank>
195
                                                                                                    <taxonepithet>$Genus</taxonepithet>
196
                                                                                                    <parent_id>
197
                                                                                                        <taxonlabel>
198
                                                                                                            <rank>family</rank>
199
                                                                                                            <taxonepithet>$Family</taxonepithet>
200
                                                                                                            <parent_id>
201
                                                                                                                <taxonlabel>
202
                                                                                                                    <rank>order</rank>
203
                                                                                                                    <taxonepithet>$Order</taxonepithet>
204
                                                                                                                    <parent_id>
205
                                                                                                                        <taxonlabel>
206
                                                                                                                            <rank>class</rank>
207
                                                                                                                            <taxonepithet>$Class</taxonepithet>
208
                                                                                                                            <parent_id>
209
                                                                                                                                <taxonlabel>
210
                                                                                                                                    <rank>phylum</rank>
211
                                                                                                                                    <taxonepithet>$Phylum</taxonepithet>
212
                                                                                                                                    <parent_id>
213
                                                                                                                                        <taxonlabel>
214
                                                                                                                                            <rank>kingdom</rank>
215
                                                                                                                                            <taxonepithet>$Kingdom</taxonepithet>
216
                                                                                                                                        </taxonlabel>
217
                                                                                                                                    </parent_id>
218
                                                                                                                                </taxonlabel>
219
                                                                                                                            </parent_id>
220
                                                                                                                        </taxonlabel>
221
                                                                                                                    </parent_id>
222
                                                                                                                </taxonlabel>
223
                                                                                                            </parent_id>
224
                                                                                                        </taxonlabel>
225
                                                                                                    </parent_id>
226
                                                                                                </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
                                            <taxonomicname>
241
                                                <_join_words>
242
                                                    <1>
243
                                                        <_alt>
244
                                                            <1>$ScientificName</1>
245
                                                            <2>
246
                                                                <_join_words>
247
                                                                    <1>$Family</1>
248
                                                                    <2>$Genus</2>
249
                                                                    <3>$Species</3>
250
                                                                    <4>$Subspecies</4>
251
                                                                </_join_words>
252
                                                            </2>
253
                                                        </_alt>
254
                                                    </1>
255
                                                    <2>$ScientificNameAuthor</2>
256
                                                </_join_words>
257
                                            </taxonomicname>
258
                                        </taxonlabel>
259
                                    </taxonlabel_id>
260
                                    <author>$ScientificNameAuthor</author>
261
                                    <binomial>$ScientificName</binomial>
262
                                    <family>$Family</family>
263
                                    <genus>$Genus</genus>
264
                                    <species>$Species</species>
265
                                </taxonverbatim>
266
                            </taxonverbatim_id>
267
                            <determinationdate>
268
                                <_date>
269
                                    <day>
270
                                        <_nullIf>
271
                                            <null>0</null>
272
                                            <type>float</type>
273
                                            <value>$DayIdentified</value>
274
                                        </_nullIf>
275
                                    </day>
276
                                    <month>
277
                                        <_nullIf>
278
                                            <null>0</null>
279
                                            <type>float</type>
280
                                            <value>$MonthIdentified</value>
281
                                        </_nullIf>
282
                                    </month>
283
                                    <year>
284
                                        <_nullIf>
285
                                            <null>0</null>
286
                                            <type>float</type>
287
                                            <value>$YearIdentified</value>
288
                                        </_nullIf>
289
                                    </year>
290
                                </_date>
291
                            </determinationdate>
292
                        </taxondetermination>
293
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
294
                    </taxonoccurrence>
295
                    <waterdepth_m>
296
                        <_avg>
297
                            <max>$MaximumDepth</max>
298
                            <min>$MinimumDepth</min>
299
                        </_avg>
300
                    </waterdepth_m>
301
                </locationevent>
302
                <locationnarrative>
303
                    <_merge>
304
                        <1>
305
                            <_join>
306
                                <1>$Locality</1>
307
                                <2>
308
                                    <_label>
309
                                        <label>substrate</label>
310
                                        <value>$Substrate</value>
311
                                    </_label>
312
                                </2>
313
                                <3>
314
                                    <_label>
315
                                        <label>vegetation</label>
316
                                        <value>$Vegetation</value>
317
                                    </_label>
318
                                </3>
319
                            </_join>
320
                        </1>
321
                        <3>
322
                            <_label>
323
                                <label>habitat</label>
324
                                <value>$Habitat</value>
325
                            </_label>
326
                        </3>
327
                    </_merge>
328
                </locationnarrative>
329
                <locationplace>
330
                    <placepath_id>
331
                        <placepath>
332
                            <continent>$ContinentOcean</continent>
333
                            <country>$Country</country>
334
                            <county>$County</county>
335
                            <stateprovince>$StateProvince</stateprovince>
336
                        </placepath>
337
                    </placepath_id>
338
                </locationplace>
339
            </location>
340
        </path>
341
    </_simplifyPath>
342
</VegBIEN>
343
Inserted 37 new rows into database
(5-5/6)