Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>ACAD</shortname></source></source_id>
5 4621 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13 4621 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 4621 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 5657 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 5788 aaronmk
                                                                    <2>
101 6403 aaronmk
                                                                        <_alt>
102
                                                                            <1>$scientificName</1>
103
                                                                            <2>
104 5657 aaronmk
                                                                                <_join_words>
105 6403 aaronmk
                                                                                    <1>
106 5788 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 5788 aaronmk
                                                                                        </_join_words>
121 6403 aaronmk
                                                                                    </1>
122
                                                                                    <2>$scientificNameAuthorship</2>
123 5657 aaronmk
                                                                                </_join_words>
124 6403 aaronmk
                                                                            </2>
125
                                                                        </_alt>
126 5788 aaronmk
                                                                    </2>
127 6403 aaronmk
                                                                </_join_words>
128
                                                            </taxonomicname>
129
                                                        </taxonlabel>
130
                                                    </matched_label_id>
131
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
132 5294 aaronmk
                                                    <parent_id>
133 5608 aaronmk
                                                        <taxonlabel>
134 6403 aaronmk
                                                            <rank>$taxonRank</rank>
135
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
136 5294 aaronmk
                                                            <parent_id>
137 5608 aaronmk
                                                                <taxonlabel>
138 6403 aaronmk
                                                                    <rank>cultivar</rank>
139 5294 aaronmk
                                                                    <parent_id>
140 5608 aaronmk
                                                                        <taxonlabel>
141 6403 aaronmk
                                                                            <rank>forma</rank>
142 5294 aaronmk
                                                                            <parent_id>
143 5608 aaronmk
                                                                                <taxonlabel>
144 6403 aaronmk
                                                                                    <rank>variety</rank>
145 5294 aaronmk
                                                                                    <parent_id>
146 5608 aaronmk
                                                                                        <taxonlabel>
147 6403 aaronmk
                                                                                            <rank>subspecies</rank>
148 5294 aaronmk
                                                                                            <parent_id>
149 5608 aaronmk
                                                                                                <taxonlabel>
150 6403 aaronmk
                                                                                                    <rank>species</rank>
151
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
152 5294 aaronmk
                                                                                                    <parent_id>
153 5608 aaronmk
                                                                                                        <taxonlabel>
154 6403 aaronmk
                                                                                                            <rank>genus</rank>
155
                                                                                                            <taxonepithet>$genus</taxonepithet>
156 5294 aaronmk
                                                                                                            <parent_id>
157 5608 aaronmk
                                                                                                                <taxonlabel>
158 6403 aaronmk
                                                                                                                    <rank>family</rank>
159
                                                                                                                    <taxonepithet>$family</taxonepithet>
160 5294 aaronmk
                                                                                                                    <parent_id>
161 5608 aaronmk
                                                                                                                        <taxonlabel>
162 6403 aaronmk
                                                                                                                            <rank>order</rank>
163
                                                                                                                            <taxonepithet>$order</taxonepithet>
164 5306 aaronmk
                                                                                                                            <parent_id>
165 5608 aaronmk
                                                                                                                                <taxonlabel>
166 6403 aaronmk
                                                                                                                                    <rank>class</rank>
167
                                                                                                                                    <taxonepithet>$class</taxonepithet>
168 5657 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 5657 aaronmk
                                                                                                                                        </taxonlabel>
179
                                                                                                                                    </parent_id>
180 5608 aaronmk
                                                                                                                                </taxonlabel>
181 5306 aaronmk
                                                                                                                            </parent_id>
182 5608 aaronmk
                                                                                                                        </taxonlabel>
183 5294 aaronmk
                                                                                                                    </parent_id>
184 5608 aaronmk
                                                                                                                </taxonlabel>
185 5294 aaronmk
                                                                                                            </parent_id>
186 5608 aaronmk
                                                                                                        </taxonlabel>
187 5294 aaronmk
                                                                                                    </parent_id>
188 5608 aaronmk
                                                                                                </taxonlabel>
189 5294 aaronmk
                                                                                            </parent_id>
190 5608 aaronmk
                                                                                        </taxonlabel>
191 5294 aaronmk
                                                                                    </parent_id>
192 5608 aaronmk
                                                                                </taxonlabel>
193 5294 aaronmk
                                                                            </parent_id>
194 5608 aaronmk
                                                                        </taxonlabel>
195 5294 aaronmk
                                                                    </parent_id>
196 5608 aaronmk
                                                                </taxonlabel>
197 5294 aaronmk
                                                            </parent_id>
198 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
199 5608 aaronmk
                                                        </taxonlabel>
200 5294 aaronmk
                                                    </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 5788 aaronmk
                                                            <2>
215 6403 aaronmk
                                                                <_alt>
216
                                                                    <1>$scientificName</1>
217
                                                                    <2>
218 5657 aaronmk
                                                                        <_join_words>
219 6403 aaronmk
                                                                            <1>
220 5788 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 5788 aaronmk
                                                                                </_join_words>
235 6403 aaronmk
                                                                            </1>
236
                                                                            <2>$scientificNameAuthorship</2>
237 5657 aaronmk
                                                                        </_join_words>
238 6403 aaronmk
                                                                    </2>
239
                                                                </_alt>
240 5788 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 5958 aaronmk
                                <place>
271
                                    <coordinates_id>
272
                                        <coordinates>
273 5969 aaronmk
                                            <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 5958 aaronmk
                                        </coordinates>
288
                                    </coordinates_id>
289 6403 aaronmk
                                    <continent>$continent</continent>
290 5958 aaronmk
                                    <country>$country</country>
291 6294 aaronmk
                                    <county>$county</county>
292 6403 aaronmk
                                    <matched_place_id>
293
                                        <place>
294
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
295
                                            <coordinates_id>
296
                                                <coordinates>
297
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
298
                                                    <latitude_deg>
299
                                                        <_nullIf>
300
                                                            <null>0</null>
301
                                                            <type>float</type>
302
                                                            <value>$decimalLatitude</value>
303
                                                        </_nullIf>
304
                                                    </latitude_deg>
305
                                                    <longitude_deg>
306
                                                        <_nullIf>
307
                                                            <null>0</null>
308
                                                            <type>float</type>
309
                                                            <value>$decimalLongitude</value>
310
                                                        </_nullIf>
311
                                                    </longitude_deg>
312
                                                </coordinates>
313
                                            </coordinates_id>
314
                                            <country>$country</country>
315
                                            <county>$county</county>
316
                                            <stateprovince>$stateProvince</stateprovince>
317
                                        </place>
318
                                    </matched_place_id>
319 5958 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
320
                                </place>
321 6403 aaronmk
                            </place_id>
322
                        </locationplace>
323
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
324
                    </location>
325
                </path>
326
            </_simplifyPath>
327 4621 aaronmk
        </path>
328 6403 aaronmk
    </_setDefault>
329 3641 aaronmk
</VegBIEN>
330 6795 aaronmk
Inserted 47 new rows into database