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