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
                                                <sourcename>
81
                                                    <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
82
                                                    <name>$institutionCode</name>
83
                                                </sourcename>
84
                                            </institution_id>
85
                                            <sourceaccessioncode>$id</sourceaccessioncode>
86
                                        </specimenreplicate>
87
                                    </plantobservation>
88
                                </aggregateoccurrence>
89
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
90
                                <iscultivated>
91
                                    <_map>
92
                                        <cultivated>t</cultivated>
93
                                        <wild>f</wild>
94
                                        <*></*>
95
                                        <value>$establishmentMeans</value>
96
                                    </_map>
97
                                </iscultivated>
98
                                <isnative>
99
                                    <_map>
100
                                        <native>t</native>
101
                                        <exotic>f</exotic>
102
                                        <*></*>
103
                                        <value>$establishmentMeans</value>
104
                                    </_map>
105
                                </isnative>
106
                                <sourceaccessioncode>$id</sourceaccessioncode>
107
                                <taxondetermination>
108
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
109
                                    <taxonverbatim_id>
110
                                        <taxonverbatim>
111
                                            <taxonlabel_id>
112
                                                <taxonlabel>
113
                                                    <matched_label_id>
114
                                                        <taxonlabel>
115
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
116
                                                            <taxonomicname>
117
                                                                <_join_words>
118
                                                                    <1>
119
                                                                        <_taxon_family_require_std>
120
                                                                            <family>
121
                                                                                <_nullIf>
122
                                                                                    <null>$scientificName</null>
123
                                                                                    <value>$family</value>
124
                                                                                </_nullIf>
125
                                                                            </family>
126
                                                                        </_taxon_family_require_std>
127
                                                                    </1>
128
                                                                    <2>
129
                                                                        <_alt>
130
                                                                            <1>$scientificName</1>
131
                                                                            <2>
132
                                                                                <_join_words>
133
                                                                                    <1>
134
                                                                                        <_join_words>
135
                                                                                            <2>$genus</2>
136
                                                                                            <3>$specificEpithet</3>
137
                                                                                            <5>
138
                                                                                                <_join_words>
139
                                                                                                    <1>
140
                                                                                                        <_if name="if has infraspecificEpithet">
141
                                                                                                            <cond>$infraspecificEpithet</cond>
142
                                                                                                            <then>$taxonRank</then>
143
                                                                                                        </_if>
144
                                                                                                    </1>
145
                                                                                                    <2>$infraspecificEpithet</2>
146
                                                                                                </_join_words>
147
                                                                                            </5>
148
                                                                                        </_join_words>
149
                                                                                    </1>
150
                                                                                    <2>$scientificNameAuthorship</2>
151
                                                                                </_join_words>
152
                                                                            </2>
153
                                                                        </_alt>
154
                                                                    </2>
155
                                                                </_join_words>
156
                                                            </taxonomicname>
157
                                                        </taxonlabel>
158
                                                    </matched_label_id>
159
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
160
                                                    <parent_id>
161
                                                        <taxonlabel>
162
                                                            <rank>$taxonRank</rank>
163
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
164
                                                            <parent_id>
165
                                                                <taxonlabel>
166
                                                                    <rank>cultivar</rank>
167
                                                                    <parent_id>
168
                                                                        <taxonlabel>
169
                                                                            <rank>forma</rank>
170
                                                                            <parent_id>
171
                                                                                <taxonlabel>
172
                                                                                    <rank>variety</rank>
173
                                                                                    <parent_id>
174
                                                                                        <taxonlabel>
175
                                                                                            <rank>subspecies</rank>
176
                                                                                            <parent_id>
177
                                                                                                <taxonlabel>
178
                                                                                                    <rank>species</rank>
179
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
180
                                                                                                    <parent_id>
181
                                                                                                        <taxonlabel>
182
                                                                                                            <rank>genus</rank>
183
                                                                                                            <taxonepithet>$genus</taxonepithet>
184
                                                                                                            <parent_id>
185
                                                                                                                <taxonlabel>
186
                                                                                                                    <rank>family</rank>
187
                                                                                                                    <taxonepithet>$family</taxonepithet>
188
                                                                                                                    <parent_id>
189
                                                                                                                        <taxonlabel>
190
                                                                                                                            <rank>order</rank>
191
                                                                                                                            <parent_id>
192
                                                                                                                                <taxonlabel>
193
                                                                                                                                    <rank>class</rank>
194
                                                                                                                                    <parent_id>
195
                                                                                                                                        <taxonlabel>
196
                                                                                                                                            <rank>phylum</rank>
197
                                                                                                                                            <parent_id>
198
                                                                                                                                                <taxonlabel>
199
                                                                                                                                                    <rank>kingdom</rank>
200
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
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
                                                                                                </taxonlabel>
214
                                                                                            </parent_id>
215
                                                                                        </taxonlabel>
216
                                                                                    </parent_id>
217
                                                                                </taxonlabel>
218
                                                                            </parent_id>
219
                                                                        </taxonlabel>
220
                                                                    </parent_id>
221
                                                                </taxonlabel>
222
                                                            </parent_id>
223
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
224
                                                        </taxonlabel>
225
                                                    </parent_id>
226
                                                    <rank>$taxonRank</rank>
227
                                                    <taxonomicname>
228
                                                        <_join_words>
229
                                                            <1>
230
                                                                <_taxon_family_require_std>
231
                                                                    <family>
232
                                                                        <_nullIf>
233
                                                                            <null>$scientificName</null>
234
                                                                            <value>$family</value>
235
                                                                        </_nullIf>
236
                                                                    </family>
237
                                                                </_taxon_family_require_std>
238
                                                            </1>
239
                                                            <2>
240
                                                                <_alt>
241
                                                                    <1>$scientificName</1>
242
                                                                    <2>
243
                                                                        <_join_words>
244
                                                                            <1>
245
                                                                                <_join_words>
246
                                                                                    <2>$genus</2>
247
                                                                                    <3>$specificEpithet</3>
248
                                                                                    <5>
249
                                                                                        <_join_words>
250
                                                                                            <1>
251
                                                                                                <_if name="if has infraspecificEpithet">
252
                                                                                                    <cond>$infraspecificEpithet</cond>
253
                                                                                                    <then>$taxonRank</then>
254
                                                                                                </_if>
255
                                                                                            </1>
256
                                                                                            <2>$infraspecificEpithet</2>
257
                                                                                        </_join_words>
258
                                                                                    </5>
259
                                                                                </_join_words>
260
                                                                            </1>
261
                                                                            <2>$scientificNameAuthorship</2>
262
                                                                        </_join_words>
263
                                                                    </2>
264
                                                                </_alt>
265
                                                            </2>
266
                                                        </_join_words>
267
                                                    </taxonomicname>
268
                                                </taxonlabel>
269
                                            </taxonlabel_id>
270
                                            <author>$scientificNameAuthorship</author>
271
                                            <family>$family</family>
272
                                            <genus>$genus</genus>
273
                                            <specific_epithet>$specificEpithet</specific_epithet>
274
                                            <taxonomicname>$scientificName</taxonomicname>
275
                                            <verbatimrank>$taxonRank</verbatimrank>
276
                                        </taxonverbatim>
277
                                    </taxonverbatim_id>
278
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
279
                                    <taxonfit>$identificationQualifier</taxonfit>
280
                                </taxondetermination>
281
                            </taxonoccurrence>
282
                        </locationevent>
283
                        <locationnarrative>
284
                            <_merge>
285
                                <1>$locality</1>
286
                                <3>
287
                                    <_label>
288
                                        <label>habitat</label>
289
                                        <value>$habitat</value>
290
                                    </_label>
291
                                </3>
292
                            </_merge>
293
                        </locationnarrative>
294
                        <locationplace>
295
                            <place_id>
296
                                <place>
297
                                    <coordinates_id>
298
                                        <coordinates>
299
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
300
                                            <latitude_deg>
301
                                                <_nullIf>
302
                                                    <null>0</null>
303
                                                    <type>float</type>
304
                                                    <value>$decimalLatitude</value>
305
                                                </_nullIf>
306
                                            </latitude_deg>
307
                                            <longitude_deg>
308
                                                <_nullIf>
309
                                                    <null>0</null>
310
                                                    <type>float</type>
311
                                                    <value>$decimalLongitude</value>
312
                                                </_nullIf>
313
                                            </longitude_deg>
314
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
315
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
316
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
317
                                        </coordinates>
318
                                    </coordinates_id>
319
                                    <continent>$continent</continent>
320
                                    <country>$country</country>
321
                                    <county>$county</county>
322
                                    <matched_place_id>
323
                                        <place>
324
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
325
                                            <coordinates_id>
326
                                                <coordinates>
327
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
328
                                                    <latitude_deg>
329
                                                        <_nullIf>
330
                                                            <null>0</null>
331
                                                            <type>float</type>
332
                                                            <value>$decimalLatitude</value>
333
                                                        </_nullIf>
334
                                                    </latitude_deg>
335
                                                    <longitude_deg>
336
                                                        <_nullIf>
337
                                                            <null>0</null>
338
                                                            <type>float</type>
339
                                                            <value>$decimalLongitude</value>
340
                                                        </_nullIf>
341
                                                    </longitude_deg>
342
                                                </coordinates>
343
                                            </coordinates_id>
344
                                            <country>$country</country>
345
                                            <county>$county</county>
346
                                            <stateprovince>$stateProvince</stateprovince>
347
                                        </place>
348
                                    </matched_place_id>
349
                                    <stateprovince>$stateProvince</stateprovince>
350
                                </place>
351
                            </place_id>
352
                        </locationplace>
353
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
354
                    </location>
355
                </path>
356
            </_simplifyPath>
357
        </path>
358
    </_setDefault>
359
</VegBIEN>
360
Inserted 43 new rows into database
(5-5/6)