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