Project

General

Profile

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