Project

General

Profile

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