Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>HIBG</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
                            <_units>
30
                                <to>m</to>
31
                                <to></to>
32
                                <value>$verbatimElevation</value>
33
                            </_units>
34
                        </elevation_m>
35
                        <iscultivated>
36
                            <_locationnarrative_is_cultivated>
37
                                <locationnarrative>
38
                                    <_join>
39
                                        <1>$locality</1>
40
                                        <3>$habitat</3>
41
                                    </_join>
42
                                </locationnarrative>
43
                            </_locationnarrative_is_cultivated>
44
                        </iscultivated>
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
                                        <specimenreplicate>
53
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
54
                                            <collectioncode_dwc>
55
                                                <_join>
56
                                                    <1>$collectionCode</1>
57
                                                    <2>$collectionID</2>
58
                                                </_join>
59
                                            </collectioncode_dwc>
60
                                            <institution_id>
61
                                                <sourcelist>
62
                                                    <name>$institutionCode</name>
63
                                                    <sourcename>
64
                                                        <name>
65
                                                            <_split>
66
                                                                <separator>, </separator>
67
                                                                <value>$institutionCode</value>
68
                                                            </_split>
69
                                                        </name>
70
                                                    </sourcename>
71
                                                </sourcelist>
72
                                            </institution_id>
73
                                            <sourceaccessioncode>$id</sourceaccessioncode>
74
                                        </specimenreplicate>
75
                                    </plantobservation>
76
                                </aggregateoccurrence>
77
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
78
                                <sourceaccessioncode>$id</sourceaccessioncode>
79
                                <taxondetermination>
80
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
81
                                    <taxonverbatim_id>
82
                                        <taxonverbatim>
83
                                            <taxonlabel_id>
84
                                                <taxonlabel>
85
                                                    <matched_label_id>
86
                                                        <taxonlabel>
87
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
88
                                                            <taxonomicname>
89
                                                                <_join_words>
90
                                                                    <1>
91
                                                                        <_taxon_family_require_std>
92
                                                                            <family>
93
                                                                                <_nullIf>
94
                                                                                    <null>$scientificName</null>
95
                                                                                    <value>$family</value>
96
                                                                                </_nullIf>
97
                                                                            </family>
98
                                                                        </_taxon_family_require_std>
99
                                                                    </1>
100
                                                                    <2>
101
                                                                        <_alt>
102
                                                                            <1>$scientificName</1>
103
                                                                            <2>
104
                                                                                <_join_words>
105
                                                                                    <1>
106
                                                                                        <_join_words>
107
                                                                                            <2>$genus</2>
108
                                                                                            <3>$specificEpithet</3>
109
                                                                                            <5>
110
                                                                                                <_join_words>
111
                                                                                                    <1>
112
                                                                                                        <_if name="if has infraspecificEpithet">
113
                                                                                                            <cond>$infraspecificEpithet</cond>
114
                                                                                                            <then>$taxonRank</then>
115
                                                                                                        </_if>
116
                                                                                                    </1>
117
                                                                                                    <2>$infraspecificEpithet</2>
118
                                                                                                </_join_words>
119
                                                                                            </5>
120
                                                                                        </_join_words>
121
                                                                                    </1>
122
                                                                                    <2>$scientificNameAuthorship</2>
123
                                                                                </_join_words>
124
                                                                            </2>
125
                                                                        </_alt>
126
                                                                    </2>
127
                                                                </_join_words>
128
                                                            </taxonomicname>
129
                                                        </taxonlabel>
130
                                                    </matched_label_id>
131
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
132
                                                    <parent_id>
133
                                                        <taxonlabel>
134
                                                            <rank>$taxonRank</rank>
135
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
136
                                                            <parent_id>
137
                                                                <taxonlabel>
138
                                                                    <rank>cultivar</rank>
139
                                                                    <parent_id>
140
                                                                        <taxonlabel>
141
                                                                            <rank>forma</rank>
142
                                                                            <parent_id>
143
                                                                                <taxonlabel>
144
                                                                                    <rank>variety</rank>
145
                                                                                    <parent_id>
146
                                                                                        <taxonlabel>
147
                                                                                            <rank>subspecies</rank>
148
                                                                                            <parent_id>
149
                                                                                                <taxonlabel>
150
                                                                                                    <rank>species</rank>
151
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
152
                                                                                                    <parent_id>
153
                                                                                                        <taxonlabel>
154
                                                                                                            <rank>genus</rank>
155
                                                                                                            <taxonepithet>$genus</taxonepithet>
156
                                                                                                            <parent_id>
157
                                                                                                                <taxonlabel>
158
                                                                                                                    <rank>family</rank>
159
                                                                                                                    <taxonepithet>$family</taxonepithet>
160
                                                                                                                    <parent_id>
161
                                                                                                                        <taxonlabel>
162
                                                                                                                            <rank>order</rank>
163
                                                                                                                            <taxonepithet>$order</taxonepithet>
164
                                                                                                                            <parent_id>
165
                                                                                                                                <taxonlabel>
166
                                                                                                                                    <rank>class</rank>
167
                                                                                                                                    <taxonepithet>$class</taxonepithet>
168
                                                                                                                                    <parent_id>
169
                                                                                                                                        <taxonlabel>
170
                                                                                                                                            <rank>phylum</rank>
171
                                                                                                                                            <taxonepithet>$phylum</taxonepithet>
172
                                                                                                                                            <parent_id>
173
                                                                                                                                                <taxonlabel>
174
                                                                                                                                                    <rank>kingdom</rank>
175
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
176
                                                                                                                                                </taxonlabel>
177
                                                                                                                                            </parent_id>
178
                                                                                                                                        </taxonlabel>
179
                                                                                                                                    </parent_id>
180
                                                                                                                                </taxonlabel>
181
                                                                                                                            </parent_id>
182
                                                                                                                        </taxonlabel>
183
                                                                                                                    </parent_id>
184
                                                                                                                </taxonlabel>
185
                                                                                                            </parent_id>
186
                                                                                                        </taxonlabel>
187
                                                                                                    </parent_id>
188
                                                                                                </taxonlabel>
189
                                                                                            </parent_id>
190
                                                                                        </taxonlabel>
191
                                                                                    </parent_id>
192
                                                                                </taxonlabel>
193
                                                                            </parent_id>
194
                                                                        </taxonlabel>
195
                                                                    </parent_id>
196
                                                                </taxonlabel>
197
                                                            </parent_id>
198
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
199
                                                        </taxonlabel>
200
                                                    </parent_id>
201
                                                    <rank>$taxonRank</rank>
202
                                                    <taxonomicname>
203
                                                        <_join_words>
204
                                                            <1>
205
                                                                <_taxon_family_require_std>
206
                                                                    <family>
207
                                                                        <_nullIf>
208
                                                                            <null>$scientificName</null>
209
                                                                            <value>$family</value>
210
                                                                        </_nullIf>
211
                                                                    </family>
212
                                                                </_taxon_family_require_std>
213
                                                            </1>
214
                                                            <2>
215
                                                                <_alt>
216
                                                                    <1>$scientificName</1>
217
                                                                    <2>
218
                                                                        <_join_words>
219
                                                                            <1>
220
                                                                                <_join_words>
221
                                                                                    <2>$genus</2>
222
                                                                                    <3>$specificEpithet</3>
223
                                                                                    <5>
224
                                                                                        <_join_words>
225
                                                                                            <1>
226
                                                                                                <_if name="if has infraspecificEpithet">
227
                                                                                                    <cond>$infraspecificEpithet</cond>
228
                                                                                                    <then>$taxonRank</then>
229
                                                                                                </_if>
230
                                                                                            </1>
231
                                                                                            <2>$infraspecificEpithet</2>
232
                                                                                        </_join_words>
233
                                                                                    </5>
234
                                                                                </_join_words>
235
                                                                            </1>
236
                                                                            <2>$scientificNameAuthorship</2>
237
                                                                        </_join_words>
238
                                                                    </2>
239
                                                                </_alt>
240
                                                            </2>
241
                                                        </_join_words>
242
                                                    </taxonomicname>
243
                                                </taxonlabel>
244
                                            </taxonlabel_id>
245
                                            <author>$scientificNameAuthorship</author>
246
                                            <family>$family</family>
247
                                            <genus>$genus</genus>
248
                                            <specific_epithet>$specificEpithet</specific_epithet>
249
                                            <taxonomicname>$scientificName</taxonomicname>
250
                                            <verbatimrank>$taxonRank</verbatimrank>
251
                                        </taxonverbatim>
252
                                    </taxonverbatim_id>
253
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
254
                                </taxondetermination>
255
                            </taxonoccurrence>
256
                        </locationevent>
257
                        <locationnarrative>
258
                            <_merge>
259
                                <1>$locality</1>
260
                                <3>
261
                                    <_label>
262
                                        <label>habitat</label>
263
                                        <value>$habitat</value>
264
                                    </_label>
265
                                </3>
266
                            </_merge>
267
                        </locationnarrative>
268
                        <locationplace>
269
                            <place_id>
270
                                <place>
271
                                    <coordinates_id>
272
                                        <coordinates>
273
                                            <latitude_deg>
274
                                                <_nullIf>
275
                                                    <null>0</null>
276
                                                    <type>float</type>
277
                                                    <value>$decimalLatitude</value>
278
                                                </_nullIf>
279
                                            </latitude_deg>
280
                                            <longitude_deg>
281
                                                <_nullIf>
282
                                                    <null>0</null>
283
                                                    <type>float</type>
284
                                                    <value>$decimalLongitude</value>
285
                                                </_nullIf>
286
                                            </longitude_deg>
287
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
288
                                        </coordinates>
289
                                    </coordinates_id>
290
                                    <continent>$continent</continent>
291
                                    <country>$country</country>
292
                                    <county>$county</county>
293
                                    <matched_place_id>
294
                                        <place>
295
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
296
                                            <coordinates_id>
297
                                                <coordinates>
298
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
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
                                                </coordinates>
314
                                            </coordinates_id>
315
                                            <country>$country</country>
316
                                            <county>$county</county>
317
                                            <stateprovince>$stateProvince</stateprovince>
318
                                        </place>
319
                                    </matched_place_id>
320
                                    <stateprovince>$stateProvince</stateprovince>
321
                                </place>
322
                            </place_id>
323
                        </locationplace>
324
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
325
                    </location>
326
                </path>
327
            </_simplifyPath>
328
        </path>
329
    </_setDefault>
330
</VegBIEN>
331
Inserted 40 new rows into database
(5-5/6)