Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <col>source_id</col>
5
        <value><source><shortname>TRT</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
                            <_alt>
30
                                <1>
31
                                    <_units>
32
                                        <to>m</to>
33
                                        <to></to>
34
                                        <value>$verbatimElevation</value>
35
                                    </_units>
36
                                </1>
37
                                <2>
38
                                    <_avg>
39
                                        <max>$maximumElevationInMeters</max>
40
                                        <min>$minimumElevationInMeters</min>
41
                                    </_avg>
42
                                </2>
43
                            </_alt>
44
                        </elevation_m>
45
                        <locationevent>
46
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
47
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
48
                            <taxonoccurrence>
49
                                <aggregateoccurrence>
50
                                    <plantobservation>
51
                                        <collectionnumber>$recordNumber</collectionnumber>
52
                                        <definedvalue fkey="tablerecord_id">
53
                                            <userdefined_id>
54
                                                <userdefined>
55
                                                    <tablename>plantobservation</tablename>
56
                                                    <userdefinedname>sex</userdefinedname>
57
                                                </userdefined>
58
                                            </userdefined_id>
59
                                            <definedvalue>$sex</definedvalue>
60
                                        </definedvalue>
61
                                        <specimenreplicate>
62
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
63
                                            <collectioncode_dwc>
64
                                                <_join>
65
                                                    <1>$collectionCode</1>
66
                                                    <2>$collectionID</2>
67
                                                </_join>
68
                                            </collectioncode_dwc>
69
                                            <institution_id>
70
                                                <sourcename>
71
                                                    <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
72
                                                    <name>$institutionCode</name>
73
                                                </sourcename>
74
                                            </institution_id>
75
                                            <sourceaccessioncode>$id</sourceaccessioncode>
76
                                        </specimenreplicate>
77
                                    </plantobservation>
78
                                </aggregateoccurrence>
79
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
80
                                <iscultivated>
81
                                    <_map>
82
                                        <cultivated>t</cultivated>
83
                                        <wild>f</wild>
84
                                        <*></*>
85
                                        <value>$establishmentMeans</value>
86
                                    </_map>
87
                                </iscultivated>
88
                                <isnative>
89
                                    <_map>
90
                                        <native>t</native>
91
                                        <exotic>f</exotic>
92
                                        <*></*>
93
                                        <value>$establishmentMeans</value>
94
                                    </_map>
95
                                </isnative>
96
                                <sourceaccessioncode>$id</sourceaccessioncode>
97
                                <taxondetermination>
98
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
99
                                    <taxonverbatim_id>
100
                                        <taxonverbatim>
101
                                            <taxonlabel_id>
102
                                                <taxonlabel>
103
                                                    <matched_label_id>
104
                                                        <taxonlabel>
105
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
106
                                                            <taxonomicname>
107
                                                                <_join_words>
108
                                                                    <1>
109
                                                                        <_taxon_family_require_std>
110
                                                                            <family>
111
                                                                                <_nullIf>
112
                                                                                    <null>$scientificName</null>
113
                                                                                    <value>$family</value>
114
                                                                                </_nullIf>
115
                                                                            </family>
116
                                                                        </_taxon_family_require_std>
117
                                                                    </1>
118
                                                                    <2>
119
                                                                        <_alt>
120
                                                                            <1>$scientificName</1>
121
                                                                            <2>
122
                                                                                <_join_words>
123
                                                                                    <1>
124
                                                                                        <_join_words>
125
                                                                                            <2>$genus</2>
126
                                                                                            <3>$specificEpithet</3>
127
                                                                                            <5>
128
                                                                                                <_join_words>
129
                                                                                                    <1>
130
                                                                                                        <_if name="if has infraspecificEpithet">
131
                                                                                                            <cond>$infraspecificEpithet</cond>
132
                                                                                                            <then>$taxonRank</then>
133
                                                                                                        </_if>
134
                                                                                                    </1>
135
                                                                                                    <2>$infraspecificEpithet</2>
136
                                                                                                </_join_words>
137
                                                                                            </5>
138
                                                                                        </_join_words>
139
                                                                                    </1>
140
                                                                                    <2>$scientificNameAuthorship</2>
141
                                                                                </_join_words>
142
                                                                            </2>
143
                                                                        </_alt>
144
                                                                    </2>
145
                                                                </_join_words>
146
                                                            </taxonomicname>
147
                                                        </taxonlabel>
148
                                                    </matched_label_id>
149
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
150
                                                    <parent_id>
151
                                                        <taxonlabel>
152
                                                            <rank>$taxonRank</rank>
153
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
154
                                                            <parent_id>
155
                                                                <taxonlabel>
156
                                                                    <rank>cultivar</rank>
157
                                                                    <parent_id>
158
                                                                        <taxonlabel>
159
                                                                            <rank>forma</rank>
160
                                                                            <parent_id>
161
                                                                                <taxonlabel>
162
                                                                                    <rank>variety</rank>
163
                                                                                    <parent_id>
164
                                                                                        <taxonlabel>
165
                                                                                            <rank>subspecies</rank>
166
                                                                                            <parent_id>
167
                                                                                                <taxonlabel>
168
                                                                                                    <rank>species</rank>
169
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
170
                                                                                                    <parent_id>
171
                                                                                                        <taxonlabel>
172
                                                                                                            <rank>genus</rank>
173
                                                                                                            <taxonepithet>$genus</taxonepithet>
174
                                                                                                            <parent_id>
175
                                                                                                                <taxonlabel>
176
                                                                                                                    <rank>family</rank>
177
                                                                                                                    <taxonepithet>$family</taxonepithet>
178
                                                                                                                    <parent_id>
179
                                                                                                                        <taxonlabel>
180
                                                                                                                            <rank>order</rank>
181
                                                                                                                            <parent_id>
182
                                                                                                                                <taxonlabel>
183
                                                                                                                                    <rank>class</rank>
184
                                                                                                                                    <parent_id>
185
                                                                                                                                        <taxonlabel>
186
                                                                                                                                            <rank>phylum</rank>
187
                                                                                                                                            <parent_id>
188
                                                                                                                                                <taxonlabel>
189
                                                                                                                                                    <rank>kingdom</rank>
190
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
191
                                                                                                                                                </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
                                                                </taxonlabel>
212
                                                            </parent_id>
213
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
214
                                                        </taxonlabel>
215
                                                    </parent_id>
216
                                                    <rank>$taxonRank</rank>
217
                                                    <taxonomicname>
218
                                                        <_join_words>
219
                                                            <1>
220
                                                                <_taxon_family_require_std>
221
                                                                    <family>
222
                                                                        <_nullIf>
223
                                                                            <null>$scientificName</null>
224
                                                                            <value>$family</value>
225
                                                                        </_nullIf>
226
                                                                    </family>
227
                                                                </_taxon_family_require_std>
228
                                                            </1>
229
                                                            <2>
230
                                                                <_alt>
231
                                                                    <1>$scientificName</1>
232
                                                                    <2>
233
                                                                        <_join_words>
234
                                                                            <1>
235
                                                                                <_join_words>
236
                                                                                    <2>$genus</2>
237
                                                                                    <3>$specificEpithet</3>
238
                                                                                    <5>
239
                                                                                        <_join_words>
240
                                                                                            <1>
241
                                                                                                <_if name="if has infraspecificEpithet">
242
                                                                                                    <cond>$infraspecificEpithet</cond>
243
                                                                                                    <then>$taxonRank</then>
244
                                                                                                </_if>
245
                                                                                            </1>
246
                                                                                            <2>$infraspecificEpithet</2>
247
                                                                                        </_join_words>
248
                                                                                    </5>
249
                                                                                </_join_words>
250
                                                                            </1>
251
                                                                            <2>$scientificNameAuthorship</2>
252
                                                                        </_join_words>
253
                                                                    </2>
254
                                                                </_alt>
255
                                                            </2>
256
                                                        </_join_words>
257
                                                    </taxonomicname>
258
                                                </taxonlabel>
259
                                            </taxonlabel_id>
260
                                            <author>$scientificNameAuthorship</author>
261
                                            <family>$family</family>
262
                                            <genus>$genus</genus>
263
                                            <specific_epithet>$specificEpithet</specific_epithet>
264
                                            <taxonomicname>$scientificName</taxonomicname>
265
                                            <verbatimrank>$taxonRank</verbatimrank>
266
                                        </taxonverbatim>
267
                                    </taxonverbatim_id>
268
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
269
                                    <taxonfit>$identificationQualifier</taxonfit>
270
                                </taxondetermination>
271
                            </taxonoccurrence>
272
                        </locationevent>
273
                        <locationnarrative>
274
                            <_merge>
275
                                <1>$locality</1>
276
                                <3>
277
                                    <_label>
278
                                        <label>habitat</label>
279
                                        <value>$habitat</value>
280
                                    </_label>
281
                                </3>
282
                            </_merge>
283
                        </locationnarrative>
284
                        <locationplace>
285
                            <place_id>
286
                                <place>
287
                                    <coordinates_id>
288
                                        <coordinates>
289
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
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
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
305
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
306
                                        </coordinates>
307
                                    </coordinates_id>
308
                                    <continent>$continent</continent>
309
                                    <country>$country</country>
310
                                    <county>$county</county>
311
                                    <matched_place_id>
312
                                        <place>
313
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
314
                                            <coordinates_id>
315
                                                <coordinates>
316
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
317
                                                    <latitude_deg>
318
                                                        <_nullIf>
319
                                                            <null>0</null>
320
                                                            <type>float</type>
321
                                                            <value>$decimalLatitude</value>
322
                                                        </_nullIf>
323
                                                    </latitude_deg>
324
                                                    <longitude_deg>
325
                                                        <_nullIf>
326
                                                            <null>0</null>
327
                                                            <type>float</type>
328
                                                            <value>$decimalLongitude</value>
329
                                                        </_nullIf>
330
                                                    </longitude_deg>
331
                                                </coordinates>
332
                                            </coordinates_id>
333
                                            <country>$country</country>
334
                                            <county>$county</county>
335
                                            <stateprovince>$stateProvince</stateprovince>
336
                                        </place>
337
                                    </matched_place_id>
338
                                    <stateprovince>$stateProvince</stateprovince>
339
                                </place>
340
                            </place_id>
341
                        </locationplace>
342
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
343
                    </location>
344
                </path>
345
            </_simplifyPath>
346
        </path>
347
    </_setDefault>
348
</VegBIEN>
349
Inserted 43 new rows into database
(4-4/5)