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
                                            <taxonomicname>
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
                                            </taxonomicname>
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
                                    <parent_id>
172
                                        <taxonlabel>
173
                                            <parent_id>
174
                                                <taxonlabel>
175
                                                    <rank>cultivar</rank>
176
                                                    <parent_id>
177
                                                        <taxonlabel>
178
                                                            <rank>forma</rank>
179
                                                            <parent_id>
180
                                                                <taxonlabel>
181
                                                                    <rank>variety</rank>
182
                                                                    <parent_id>
183
                                                                        <taxonlabel>
184
                                                                            <rank>subspecies</rank>
185
                                                                            <taxonepithet>$Subspecies</taxonepithet>
186
                                                                            <parent_id>
187
                                                                                <taxonlabel>
188
                                                                                    <rank>species</rank>
189
                                                                                    <taxonepithet>$Species</taxonepithet>
190
                                                                                    <parent_id>
191
                                                                                        <taxonlabel>
192
                                                                                            <rank>genus</rank>
193
                                                                                            <taxonepithet>$Genus</taxonepithet>
194
                                                                                            <parent_id>
195
                                                                                                <taxonlabel>
196
                                                                                                    <rank>family</rank>
197
                                                                                                    <taxonepithet>$Family</taxonepithet>
198
                                                                                                    <parent_id>
199
                                                                                                        <taxonlabel>
200
                                                                                                            <rank>order</rank>
201
                                                                                                            <taxonepithet>$Order</taxonepithet>
202
                                                                                                            <parent_id>
203
                                                                                                                <taxonlabel>
204
                                                                                                                    <rank>class</rank>
205
                                                                                                                    <taxonepithet>$Class</taxonepithet>
206
                                                                                                                    <parent_id>
207
                                                                                                                        <taxonlabel>
208
                                                                                                                            <rank>phylum</rank>
209
                                                                                                                            <taxonepithet>$Phylum</taxonepithet>
210
                                                                                                                            <parent_id>
211
                                                                                                                                <taxonlabel>
212
                                                                                                                                    <rank>kingdom</rank>
213
                                                                                                                                    <taxonepithet>$Kingdom</taxonepithet>
214
                                                                                                                                </taxonlabel>
215
                                                                                                                            </parent_id>
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
                                    <taxonomicname>
239
                                        <_alt>
240
                                            <1>$ScientificNameAuthor</1>
241
                                            <2>
242
                                                <_alt>
243
                                                    <1>$ScientificName</1>
244
                                                    <2>
245
                                                        <_join_words>
246
                                                            <1>$Family</1>
247
                                                            <2>$Genus</2>
248
                                                            <3>$Species</3>
249
                                                            <4>$Subspecies</4>
250
                                                        </_join_words>
251
                                                    </2>
252
                                                </_alt>
253
                                            </2>
254
                                        </_alt>
255
                                    </taxonomicname>
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)