Project

General

Profile

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