Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>UBC</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</3>
23
                                    </_join>
24
                                </2>
25
                            </_alt>
26
                        </authorlocationcode>
27
                        <accessconditions>$rights</accessconditions>
28
                        <elevation_m>
29
                            <_units>
30
                                <to>m</to>
31
                                <to></to>
32
                                <value>$verbatimElevation</value>
33
                            </_units>
34
                        </elevation_m>
35
                        <iscultivated>
36
                            <_locationnarrative_is_cultivated>
37
                                <locationnarrative>
38
                                    <_join>
39
                                        <1>$locality</1>
40
                                        <3>$habitat</3>
41
                                    </_join>
42
                                </locationnarrative>
43
                            </_locationnarrative_is_cultivated>
44
                        </iscultivated>
45
                        <locationevent>
46
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
47
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
48
                            <taxonoccurrence>
49
                                <aggregateoccurrence>
50
                                    <plantobservation>
51
                                        <collectionnumber>$recordNumber</collectionnumber>
52
                                        <specimenreplicate>
53
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
54
                                            <collectioncode_dwc>
55
                                                <_join>
56
                                                    <1>$collectionCode</1>
57
                                                    <2>$collectionID</2>
58
                                                </_join>
59
                                            </collectioncode_dwc>
60
                                            <institution_id>
61
                                                <sourcelist>
62
                                                    <name>$institutionCode</name>
63
                                                    <sourcename>
64
                                                        <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
65
                                                        <name>$institutionCode</name>
66
                                                    </sourcename>
67
                                                </sourcelist>
68
                                            </institution_id>
69
                                            <sourceaccessioncode>$id</sourceaccessioncode>
70
                                        </specimenreplicate>
71
                                    </plantobservation>
72
                                </aggregateoccurrence>
73
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
74
                                <sourceaccessioncode>$id</sourceaccessioncode>
75
                                <taxondetermination>
76
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
77
                                    <taxonverbatim_id>
78
                                        <taxonverbatim>
79
                                            <taxonlabel_id>
80
                                                <taxonlabel>
81
                                                    <matched_label_id>
82
                                                        <taxonlabel>
83
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
84
                                                            <taxonomicname>
85
                                                                <_join_words>
86
                                                                    <1>
87
                                                                        <_taxon_family_require_std>
88
                                                                            <family>
89
                                                                                <_nullIf>
90
                                                                                    <null>$scientificName</null>
91
                                                                                    <value>$family</value>
92
                                                                                </_nullIf>
93
                                                                            </family>
94
                                                                        </_taxon_family_require_std>
95
                                                                    </1>
96
                                                                    <2>
97
                                                                        <_alt>
98
                                                                            <1>$scientificName</1>
99
                                                                            <2>
100
                                                                                <_join_words>
101
                                                                                    <1>
102
                                                                                        <_join_words>
103
                                                                                            <2>$genus</2>
104
                                                                                            <3>$specificEpithet</3>
105
                                                                                            <5>
106
                                                                                                <_join_words>
107
                                                                                                    <1>
108
                                                                                                        <_if name="if has infraspecificEpithet">
109
                                                                                                            <cond>$infraspecificEpithet</cond>
110
                                                                                                            <then>$taxonRank</then>
111
                                                                                                        </_if>
112
                                                                                                    </1>
113
                                                                                                    <2>$infraspecificEpithet</2>
114
                                                                                                </_join_words>
115
                                                                                            </5>
116
                                                                                        </_join_words>
117
                                                                                    </1>
118
                                                                                    <2>$scientificNameAuthorship</2>
119
                                                                                </_join_words>
120
                                                                            </2>
121
                                                                        </_alt>
122
                                                                    </2>
123
                                                                </_join_words>
124
                                                            </taxonomicname>
125
                                                        </taxonlabel>
126
                                                    </matched_label_id>
127
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
128
                                                    <parent_id>
129
                                                        <taxonlabel>
130
                                                            <rank>$taxonRank</rank>
131
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
132
                                                            <parent_id>
133
                                                                <taxonlabel>
134
                                                                    <rank>cultivar</rank>
135
                                                                    <parent_id>
136
                                                                        <taxonlabel>
137
                                                                            <rank>forma</rank>
138
                                                                            <parent_id>
139
                                                                                <taxonlabel>
140
                                                                                    <rank>variety</rank>
141
                                                                                    <parent_id>
142
                                                                                        <taxonlabel>
143
                                                                                            <rank>subspecies</rank>
144
                                                                                            <parent_id>
145
                                                                                                <taxonlabel>
146
                                                                                                    <rank>species</rank>
147
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
148
                                                                                                    <parent_id>
149
                                                                                                        <taxonlabel>
150
                                                                                                            <rank>genus</rank>
151
                                                                                                            <taxonepithet>$genus</taxonepithet>
152
                                                                                                            <parent_id>
153
                                                                                                                <taxonlabel>
154
                                                                                                                    <rank>family</rank>
155
                                                                                                                    <taxonepithet>$family</taxonepithet>
156
                                                                                                                    <parent_id>
157
                                                                                                                        <taxonlabel>
158
                                                                                                                            <rank>order</rank>
159
                                                                                                                            <parent_id>
160
                                                                                                                                <taxonlabel>
161
                                                                                                                                    <rank>class</rank>
162
                                                                                                                                    <parent_id>
163
                                                                                                                                        <taxonlabel>
164
                                                                                                                                            <rank>phylum</rank>
165
                                                                                                                                            <parent_id>
166
                                                                                                                                                <taxonlabel>
167
                                                                                                                                                    <rank>kingdom</rank>
168
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
169
                                                                                                                                                </taxonlabel>
170
                                                                                                                                            </parent_id>
171
                                                                                                                                        </taxonlabel>
172
                                                                                                                                    </parent_id>
173
                                                                                                                                </taxonlabel>
174
                                                                                                                            </parent_id>
175
                                                                                                                        </taxonlabel>
176
                                                                                                                    </parent_id>
177
                                                                                                                </taxonlabel>
178
                                                                                                            </parent_id>
179
                                                                                                        </taxonlabel>
180
                                                                                                    </parent_id>
181
                                                                                                </taxonlabel>
182
                                                                                            </parent_id>
183
                                                                                        </taxonlabel>
184
                                                                                    </parent_id>
185
                                                                                </taxonlabel>
186
                                                                            </parent_id>
187
                                                                        </taxonlabel>
188
                                                                    </parent_id>
189
                                                                </taxonlabel>
190
                                                            </parent_id>
191
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
192
                                                        </taxonlabel>
193
                                                    </parent_id>
194
                                                    <rank>$taxonRank</rank>
195
                                                    <taxonomicname>
196
                                                        <_join_words>
197
                                                            <1>
198
                                                                <_taxon_family_require_std>
199
                                                                    <family>
200
                                                                        <_nullIf>
201
                                                                            <null>$scientificName</null>
202
                                                                            <value>$family</value>
203
                                                                        </_nullIf>
204
                                                                    </family>
205
                                                                </_taxon_family_require_std>
206
                                                            </1>
207
                                                            <2>
208
                                                                <_alt>
209
                                                                    <1>$scientificName</1>
210
                                                                    <2>
211
                                                                        <_join_words>
212
                                                                            <1>
213
                                                                                <_join_words>
214
                                                                                    <2>$genus</2>
215
                                                                                    <3>$specificEpithet</3>
216
                                                                                    <5>
217
                                                                                        <_join_words>
218
                                                                                            <1>
219
                                                                                                <_if name="if has infraspecificEpithet">
220
                                                                                                    <cond>$infraspecificEpithet</cond>
221
                                                                                                    <then>$taxonRank</then>
222
                                                                                                </_if>
223
                                                                                            </1>
224
                                                                                            <2>$infraspecificEpithet</2>
225
                                                                                        </_join_words>
226
                                                                                    </5>
227
                                                                                </_join_words>
228
                                                                            </1>
229
                                                                            <2>$scientificNameAuthorship</2>
230
                                                                        </_join_words>
231
                                                                    </2>
232
                                                                </_alt>
233
                                                            </2>
234
                                                        </_join_words>
235
                                                    </taxonomicname>
236
                                                </taxonlabel>
237
                                            </taxonlabel_id>
238
                                            <author>$scientificNameAuthorship</author>
239
                                            <family>$family</family>
240
                                            <genus>$genus</genus>
241
                                            <specific_epithet>$specificEpithet</specific_epithet>
242
                                            <taxonomicname>$scientificName</taxonomicname>
243
                                            <verbatimrank>$taxonRank</verbatimrank>
244
                                        </taxonverbatim>
245
                                    </taxonverbatim_id>
246
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
247
                                    <notes>$taxonRemarks</notes>
248
                                    <taxonfit>$identificationQualifier</taxonfit>
249
                                </taxondetermination>
250
                            </taxonoccurrence>
251
                        </locationevent>
252
                        <locationnarrative>
253
                            <_merge>
254
                                <1>$locality</1>
255
                                <3>
256
                                    <_label>
257
                                        <label>habitat</label>
258
                                        <value>$habitat</value>
259
                                    </_label>
260
                                </3>
261
                            </_merge>
262
                        </locationnarrative>
263
                        <locationplace>
264
                            <place_id>
265
                                <place>
266
                                    <coordinates_id>
267
                                        <coordinates>
268
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
269
                                            <latitude_deg>
270
                                                <_nullIf>
271
                                                    <null>0</null>
272
                                                    <type>float</type>
273
                                                    <value>$decimalLatitude</value>
274
                                                </_nullIf>
275
                                            </latitude_deg>
276
                                            <longitude_deg>
277
                                                <_nullIf>
278
                                                    <null>0</null>
279
                                                    <type>float</type>
280
                                                    <value>$decimalLongitude</value>
281
                                                </_nullIf>
282
                                            </longitude_deg>
283
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
284
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
285
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
286
                                        </coordinates>
287
                                    </coordinates_id>
288
                                    <country>$country</country>
289
                                    <matched_place_id>
290
                                        <place>
291
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
292
                                            <coordinates_id>
293
                                                <coordinates>
294
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
295
                                                    <latitude_deg>
296
                                                        <_nullIf>
297
                                                            <null>0</null>
298
                                                            <type>float</type>
299
                                                            <value>$decimalLatitude</value>
300
                                                        </_nullIf>
301
                                                    </latitude_deg>
302
                                                    <longitude_deg>
303
                                                        <_nullIf>
304
                                                            <null>0</null>
305
                                                            <type>float</type>
306
                                                            <value>$decimalLongitude</value>
307
                                                        </_nullIf>
308
                                                    </longitude_deg>
309
                                                </coordinates>
310
                                            </coordinates_id>
311
                                            <country>$country</country>
312
                                            <stateprovince>$stateProvince</stateprovince>
313
                                        </place>
314
                                    </matched_place_id>
315
                                    <stateprovince>$stateProvince</stateprovince>
316
                                </place>
317
                            </place_id>
318
                        </locationplace>
319
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
320
                    </location>
321
                </path>
322
            </_simplifyPath>
323
        </path>
324
    </_setDefault>
325
</VegBIEN>
326
Inserted 44 new rows into database
(5-5/6)