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