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>$GlobalUniqueIdentifier</1>
10
                        <2>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>
15
                                    <_alt>
16
                                        <1>$CatalogNumberNumeric</1>
17
                                        <2>$CatalogNumber</2>
18
                                    </_alt>
19
                                </3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_avg>
26
                        <max>$MaximumElevationInMeters</max>
27
                        <min>$MinimumElevationInMeters</min>
28
                    </_avg>
29
                </elevation_m>
30
                <locationcoords>
31
                    <coordsaccuracy_deg><_noCV><value>$CoordinateUncertaintyInMeters</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>$DecimalLatitude</value>
38
                        </_nullIf>
39
                    </latitude_deg>
40
                    <longitude_deg>
41
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>$DecimalLongitude</value>
45
                        </_nullIf>
46
                    </longitude_deg>
47
                </locationcoords>
48
                <locationevent>
49
                    <taxonoccurrence>
50
                        <aggregateoccurrence>
51
                            <collectiondate>
52
                                <_alt>
53
                                    <1><_date><date>$VerbatimCollectingDate</date></_date></1>
54
                                    <2>
55
                                        <_date>
56
                                            <day>
57
                                                <_nullIf>
58
                                                    <null>0</null>
59
                                                    <type>float</type>
60
                                                    <value>$DayCollected</value>
61
                                                </_nullIf>
62
                                            </day>
63
                                            <month>
64
                                                <_nullIf>
65
                                                    <null>0</null>
66
                                                    <type>float</type>
67
                                                    <value>$MonthCollected</value>
68
                                                </_nullIf>
69
                                            </month>
70
                                            <year>
71
                                                <_nullIf>
72
                                                    <null>0</null>
73
                                                    <type>float</type>
74
                                                    <value>$YearCollected</value>
75
                                                </_nullIf>
76
                                            </year>
77
                                        </_date>
78
                                    </2>
79
                                </_alt>
80
                            </collectiondate>
81
                            <count>$IndividualCount</count>
82
                            <notes>$FieldNotes</notes>
83
                            <plantobservation>
84
                                <collectionnumber>$CollectorNumber</collectionnumber>
85
                                <definedvalue fkey="tablerecord_id">
86
                                    <userdefined_id>
87
                                        <userdefined>
88
                                            <tablename>plantobservation</tablename>
89
                                            <userdefinedname>sex</userdefinedname>
90
                                        </userdefined>
91
                                    </userdefined_id>
92
                                    <definedvalue>$Sex</definedvalue>
93
                                </definedvalue>
94
                                <specimenreplicate>
95
                                    <catalognumber_dwc>
96
                                        <_alt>
97
                                            <1>$CatalogNumberNumeric</1>
98
                                            <2>$CatalogNumber</2>
99
                                        </_alt>
100
                                    </catalognumber_dwc>
101
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
102
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
103
                                    <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
104
                                </specimenreplicate>
105
                            </plantobservation>
106
                        </aggregateoccurrence>
107
                        <sourceaccessioncode>$GlobalUniqueIdentifier</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
                                                <_alt>
122
                                                    <1>$ScientificNameAuthor</1>
123
                                                    <2>
124
                                                        <_alt>
125
                                                            <1>$ScientificName</1>
126
                                                            <2>
127
                                                                <_join_words>
128
                                                                    <1>$Family</1>
129
                                                                    <2>$Genus</2>
130
                                                                    <3>$Species</3>
131
                                                                    <4>$Subspecies</4>
132
                                                                </_join_words>
133
                                                            </2>
134
                                                        </_alt>
135
                                                    </2>
136
                                                </_alt>
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
                                        <_alt>
173
                                            <1>$ScientificNameAuthor</1>
174
                                            <2>
175
                                                <_alt>
176
                                                    <1>$ScientificName</1>
177
                                                    <2>
178
                                                        <_join_words>
179
                                                            <1>$Family</1>
180
                                                            <2>$Genus</2>
181
                                                            <3>$Species</3>
182
                                                            <4>$Subspecies</4>
183
                                                        </_join_words>
184
                                                    </2>
185
                                                </_alt>
186
                                            </2>
187
                                        </_alt>
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
                                        <binomial>$ScientificName</binomial>
258
                                        <family>$Family</family>
259
                                        <genus>$Genus</genus>
260
                                        <species>$Species</species>
261
                                        <taxonomicname>$ScientificNameAuthor</taxonomicname>
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
                            <notes>$Remarks</notes>
291
                            <taxonfit>$IdentificationModifier</taxonfit>
292
                        </taxondetermination>
293
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
294
                    </taxonoccurrence>
295
                    <waterdepth_m>
296
                        <_avg>
297
                            <max>$MaximumDepthInMeters</max>
298
                            <min>$MinimumDepthInMeters</min>
299
                        </_avg>
300
                    </waterdepth_m>
301
                </locationevent>
302
                <locationnarrative>$Locality</locationnarrative>
303
                <locationplace>
304
                    <placepath_id>
305
                        <placepath>
306
                            <continent>$ContinentOcean</continent>
307
                            <country>$Country</country>
308
                            <county>$County</county>
309
                            <stateprovince>$StateProvince</stateprovince>
310
                        </placepath>
311
                    </placepath_id>
312
                </locationplace>
313
            </location>
314
        </path>
315
    </_simplifyPath>
316
</VegBIEN>
317
Inserted 41 new rows into database
(5-5/6)