Project

General

Profile

1 6345 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>UBC</shortname></source></source_id>
5 6345 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13 6345 aaronmk
                                <2>
14
                                    <_join>
15 6403 aaronmk
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</3>
23 6345 aaronmk
                                    </_join>
24
                                </2>
25 6403 aaronmk
                            </_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 6432 aaronmk
                        <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 6403 aaronmk
                        <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 6345 aaronmk
                                                <taxonlabel>
77 6403 aaronmk
                                                    <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 6345 aaronmk
                                                                    <2>
93 6403 aaronmk
                                                                        <_alt>
94
                                                                            <1>$scientificName</1>
95
                                                                            <2>
96 6345 aaronmk
                                                                                <_join_words>
97 6403 aaronmk
                                                                                    <1>
98 6345 aaronmk
                                                                                        <_join_words>
99 6403 aaronmk
                                                                                            <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 6345 aaronmk
                                                                                        </_join_words>
113 6403 aaronmk
                                                                                    </1>
114
                                                                                    <2>$scientificNameAuthorship</2>
115 6345 aaronmk
                                                                                </_join_words>
116 6403 aaronmk
                                                                            </2>
117
                                                                        </_alt>
118 6345 aaronmk
                                                                    </2>
119 6403 aaronmk
                                                                </_join_words>
120
                                                            </taxonomicname>
121
                                                        </taxonlabel>
122
                                                    </matched_label_id>
123
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
124 6345 aaronmk
                                                    <parent_id>
125
                                                        <taxonlabel>
126 6403 aaronmk
                                                            <rank>$taxonRank</rank>
127
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
128 6345 aaronmk
                                                            <parent_id>
129
                                                                <taxonlabel>
130 6403 aaronmk
                                                                    <rank>cultivar</rank>
131 6345 aaronmk
                                                                    <parent_id>
132
                                                                        <taxonlabel>
133 6403 aaronmk
                                                                            <rank>forma</rank>
134 6345 aaronmk
                                                                            <parent_id>
135
                                                                                <taxonlabel>
136 6403 aaronmk
                                                                                    <rank>variety</rank>
137 6345 aaronmk
                                                                                    <parent_id>
138
                                                                                        <taxonlabel>
139 6403 aaronmk
                                                                                            <rank>subspecies</rank>
140 6345 aaronmk
                                                                                            <parent_id>
141
                                                                                                <taxonlabel>
142 6403 aaronmk
                                                                                                    <rank>species</rank>
143
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
144 6345 aaronmk
                                                                                                    <parent_id>
145
                                                                                                        <taxonlabel>
146 6403 aaronmk
                                                                                                            <rank>genus</rank>
147
                                                                                                            <taxonepithet>$genus</taxonepithet>
148 6345 aaronmk
                                                                                                            <parent_id>
149
                                                                                                                <taxonlabel>
150 6403 aaronmk
                                                                                                                    <rank>family</rank>
151
                                                                                                                    <taxonepithet>$family</taxonepithet>
152 6345 aaronmk
                                                                                                                    <parent_id>
153
                                                                                                                        <taxonlabel>
154 6403 aaronmk
                                                                                                                            <rank>order</rank>
155 6345 aaronmk
                                                                                                                            <parent_id>
156
                                                                                                                                <taxonlabel>
157 6403 aaronmk
                                                                                                                                    <rank>class</rank>
158 6345 aaronmk
                                                                                                                                    <parent_id>
159
                                                                                                                                        <taxonlabel>
160 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
161
                                                                                                                                            <parent_id>
162
                                                                                                                                                <taxonlabel>
163
                                                                                                                                                    <rank>kingdom</rank>
164
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
165
                                                                                                                                                </taxonlabel>
166
                                                                                                                                            </parent_id>
167 6345 aaronmk
                                                                                                                                        </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 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
188 6345 aaronmk
                                                        </taxonlabel>
189
                                                    </parent_id>
190 6403 aaronmk
                                                    <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 6345 aaronmk
                                                            <2>
204 6403 aaronmk
                                                                <_alt>
205
                                                                    <1>$scientificName</1>
206
                                                                    <2>
207 6345 aaronmk
                                                                        <_join_words>
208 6403 aaronmk
                                                                            <1>
209 6345 aaronmk
                                                                                <_join_words>
210 6403 aaronmk
                                                                                    <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 6345 aaronmk
                                                                                </_join_words>
224 6403 aaronmk
                                                                            </1>
225
                                                                            <2>$scientificNameAuthorship</2>
226 6345 aaronmk
                                                                        </_join_words>
227 6403 aaronmk
                                                                    </2>
228
                                                                </_alt>
229 6345 aaronmk
                                                            </2>
230 6403 aaronmk
                                                        </_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 6345 aaronmk
                                <place>
262
                                    <coordinates_id>
263
                                        <coordinates>
264 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
265 6345 aaronmk
                                            <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 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
280
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
281 6345 aaronmk
                                        </coordinates>
282
                                    </coordinates_id>
283
                                    <country>$country</country>
284 6403 aaronmk
                                    <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 6345 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
311
                                </place>
312 6403 aaronmk
                            </place_id>
313
                        </locationplace>
314
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
315
                    </location>
316
                </path>
317
            </_simplifyPath>
318 6345 aaronmk
        </path>
319 6403 aaronmk
    </_setDefault>
320 6345 aaronmk
</VegBIEN>
321 6384 aaronmk
Inserted 43 new rows into database