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