Project

General

Profile

1 6349 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>HIBG</shortname></source></source_id>
5 6349 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13 6349 aaronmk
                                <2>
14
                                    <_join>
15 6403 aaronmk
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</3>
23 6349 aaronmk
                                    </_join>
24
                                </2>
25 6403 aaronmk
                            </_alt>
26
                        </authorlocationcode>
27 6596 aaronmk
                        <accessconditions>$rights</accessconditions>
28 6403 aaronmk
                        <elevation_m>
29
                            <_units>
30
                                <to>m</to>
31
                                <to></to>
32
                                <value>$verbatimElevation</value>
33
                            </_units>
34
                        </elevation_m>
35 6432 aaronmk
                        <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 6403 aaronmk
                        <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 6791 aaronmk
                                                <sourcelist>
62 6403 aaronmk
                                                    <name>$institutionCode</name>
63 6791 aaronmk
                                                    <sourcename>
64 6795 aaronmk
                                                        <name>
65
                                                            <_split>
66
                                                                <separator>, </separator>
67
                                                                <value>$institutionCode</value>
68
                                                            </_split>
69
                                                        </name>
70 6791 aaronmk
                                                    </sourcename>
71
                                                </sourcelist>
72 6403 aaronmk
                                            </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 6349 aaronmk
                                                <taxonlabel>
85 6403 aaronmk
                                                    <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 6349 aaronmk
                                                                    <2>
101 6403 aaronmk
                                                                        <_alt>
102
                                                                            <1>$scientificName</1>
103
                                                                            <2>
104 6349 aaronmk
                                                                                <_join_words>
105 6403 aaronmk
                                                                                    <1>
106 6349 aaronmk
                                                                                        <_join_words>
107 6403 aaronmk
                                                                                            <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 6349 aaronmk
                                                                                        </_join_words>
121 6403 aaronmk
                                                                                    </1>
122
                                                                                    <2>$scientificNameAuthorship</2>
123 6349 aaronmk
                                                                                </_join_words>
124 6403 aaronmk
                                                                            </2>
125
                                                                        </_alt>
126 6349 aaronmk
                                                                    </2>
127 6403 aaronmk
                                                                </_join_words>
128
                                                            </taxonomicname>
129
                                                        </taxonlabel>
130
                                                    </matched_label_id>
131
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
132 6349 aaronmk
                                                    <parent_id>
133
                                                        <taxonlabel>
134 6403 aaronmk
                                                            <rank>$taxonRank</rank>
135
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
136 6349 aaronmk
                                                            <parent_id>
137
                                                                <taxonlabel>
138 6403 aaronmk
                                                                    <rank>cultivar</rank>
139 6349 aaronmk
                                                                    <parent_id>
140
                                                                        <taxonlabel>
141 6403 aaronmk
                                                                            <rank>forma</rank>
142 6349 aaronmk
                                                                            <parent_id>
143
                                                                                <taxonlabel>
144 6403 aaronmk
                                                                                    <rank>variety</rank>
145 6349 aaronmk
                                                                                    <parent_id>
146
                                                                                        <taxonlabel>
147 6403 aaronmk
                                                                                            <rank>subspecies</rank>
148 6349 aaronmk
                                                                                            <parent_id>
149
                                                                                                <taxonlabel>
150 6403 aaronmk
                                                                                                    <rank>species</rank>
151
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
152 6349 aaronmk
                                                                                                    <parent_id>
153
                                                                                                        <taxonlabel>
154 6403 aaronmk
                                                                                                            <rank>genus</rank>
155
                                                                                                            <taxonepithet>$genus</taxonepithet>
156 6349 aaronmk
                                                                                                            <parent_id>
157
                                                                                                                <taxonlabel>
158 6403 aaronmk
                                                                                                                    <rank>family</rank>
159
                                                                                                                    <taxonepithet>$family</taxonepithet>
160 6349 aaronmk
                                                                                                                    <parent_id>
161
                                                                                                                        <taxonlabel>
162 6403 aaronmk
                                                                                                                            <rank>order</rank>
163
                                                                                                                            <taxonepithet>$order</taxonepithet>
164 6349 aaronmk
                                                                                                                            <parent_id>
165
                                                                                                                                <taxonlabel>
166 6403 aaronmk
                                                                                                                                    <rank>class</rank>
167
                                                                                                                                    <taxonepithet>$class</taxonepithet>
168 6349 aaronmk
                                                                                                                                    <parent_id>
169
                                                                                                                                        <taxonlabel>
170 6403 aaronmk
                                                                                                                                            <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 6349 aaronmk
                                                                                                                                        </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 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
199 6349 aaronmk
                                                        </taxonlabel>
200
                                                    </parent_id>
201 6403 aaronmk
                                                    <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 6349 aaronmk
                                                            <2>
215 6403 aaronmk
                                                                <_alt>
216
                                                                    <1>$scientificName</1>
217
                                                                    <2>
218 6349 aaronmk
                                                                        <_join_words>
219 6403 aaronmk
                                                                            <1>
220 6349 aaronmk
                                                                                <_join_words>
221 6403 aaronmk
                                                                                    <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 6349 aaronmk
                                                                                </_join_words>
235 6403 aaronmk
                                                                            </1>
236
                                                                            <2>$scientificNameAuthorship</2>
237 6349 aaronmk
                                                                        </_join_words>
238 6403 aaronmk
                                                                    </2>
239
                                                                </_alt>
240 6349 aaronmk
                                                            </2>
241 6403 aaronmk
                                                        </_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 6349 aaronmk
                                <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 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
288 6349 aaronmk
                                        </coordinates>
289
                                    </coordinates_id>
290 6403 aaronmk
                                    <continent>$continent</continent>
291 6349 aaronmk
                                    <country>$country</country>
292
                                    <county>$county</county>
293 6403 aaronmk
                                    <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 6349 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
321
                                </place>
322 6403 aaronmk
                            </place_id>
323
                        </locationplace>
324
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
325
                    </location>
326
                </path>
327
            </_simplifyPath>
328 6349 aaronmk
        </path>
329 6403 aaronmk
    </_setDefault>
330 6349 aaronmk
</VegBIEN>
331 6791 aaronmk
Inserted 40 new rows into database