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