Project

General

Profile

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