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
                                                <sourcename>
62
                                                    <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
63
                                                    <name>$institutionCode</name>
64
                                                </sourcename>
65
                                            </institution_id>
66
                                            <sourceaccessioncode>$id</sourceaccessioncode>
67
                                        </specimenreplicate>
68
                                    </plantobservation>
69
                                </aggregateoccurrence>
70
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
71
                                <sourceaccessioncode>$id</sourceaccessioncode>
72
                                <taxondetermination>
73
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
74
                                    <taxonverbatim_id>
75
                                        <taxonverbatim>
76
                                            <taxonlabel_id>
77 5657 aaronmk
                                                <taxonlabel>
78 6403 aaronmk
                                                    <matched_label_id>
79
                                                        <taxonlabel>
80
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
81
                                                            <taxonomicname>
82
                                                                <_join_words>
83
                                                                    <1>
84
                                                                        <_taxon_family_require_std>
85
                                                                            <family>
86
                                                                                <_nullIf>
87
                                                                                    <null>$scientificName</null>
88
                                                                                    <value>$family</value>
89
                                                                                </_nullIf>
90
                                                                            </family>
91
                                                                        </_taxon_family_require_std>
92
                                                                    </1>
93 5788 aaronmk
                                                                    <2>
94 6403 aaronmk
                                                                        <_alt>
95
                                                                            <1>$scientificName</1>
96
                                                                            <2>
97 5657 aaronmk
                                                                                <_join_words>
98 6403 aaronmk
                                                                                    <1>
99 5788 aaronmk
                                                                                        <_join_words>
100 6403 aaronmk
                                                                                            <2>$genus</2>
101
                                                                                            <3>$specificEpithet</3>
102
                                                                                            <5>
103
                                                                                                <_join_words>
104
                                                                                                    <1>
105
                                                                                                        <_if name="if has infraspecificEpithet">
106
                                                                                                            <cond>$infraspecificEpithet</cond>
107
                                                                                                            <then>$taxonRank</then>
108
                                                                                                        </_if>
109
                                                                                                    </1>
110
                                                                                                    <2>$infraspecificEpithet</2>
111
                                                                                                </_join_words>
112
                                                                                            </5>
113 5788 aaronmk
                                                                                        </_join_words>
114 6403 aaronmk
                                                                                    </1>
115
                                                                                    <2>$scientificNameAuthorship</2>
116 5657 aaronmk
                                                                                </_join_words>
117 6403 aaronmk
                                                                            </2>
118
                                                                        </_alt>
119 5788 aaronmk
                                                                    </2>
120 6403 aaronmk
                                                                </_join_words>
121
                                                            </taxonomicname>
122
                                                        </taxonlabel>
123
                                                    </matched_label_id>
124
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
125 5294 aaronmk
                                                    <parent_id>
126 5608 aaronmk
                                                        <taxonlabel>
127 6403 aaronmk
                                                            <rank>$taxonRank</rank>
128
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
129 5294 aaronmk
                                                            <parent_id>
130 5608 aaronmk
                                                                <taxonlabel>
131 6403 aaronmk
                                                                    <rank>cultivar</rank>
132 5294 aaronmk
                                                                    <parent_id>
133 5608 aaronmk
                                                                        <taxonlabel>
134 6403 aaronmk
                                                                            <rank>forma</rank>
135 5294 aaronmk
                                                                            <parent_id>
136 5608 aaronmk
                                                                                <taxonlabel>
137 6403 aaronmk
                                                                                    <rank>variety</rank>
138 5294 aaronmk
                                                                                    <parent_id>
139 5608 aaronmk
                                                                                        <taxonlabel>
140 6403 aaronmk
                                                                                            <rank>subspecies</rank>
141 5294 aaronmk
                                                                                            <parent_id>
142 5608 aaronmk
                                                                                                <taxonlabel>
143 6403 aaronmk
                                                                                                    <rank>species</rank>
144
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
145 5294 aaronmk
                                                                                                    <parent_id>
146 5608 aaronmk
                                                                                                        <taxonlabel>
147 6403 aaronmk
                                                                                                            <rank>genus</rank>
148
                                                                                                            <taxonepithet>$genus</taxonepithet>
149 5294 aaronmk
                                                                                                            <parent_id>
150 5608 aaronmk
                                                                                                                <taxonlabel>
151 6403 aaronmk
                                                                                                                    <rank>family</rank>
152
                                                                                                                    <taxonepithet>$family</taxonepithet>
153 5294 aaronmk
                                                                                                                    <parent_id>
154 5608 aaronmk
                                                                                                                        <taxonlabel>
155 6403 aaronmk
                                                                                                                            <rank>order</rank>
156
                                                                                                                            <taxonepithet>$order</taxonepithet>
157 5306 aaronmk
                                                                                                                            <parent_id>
158 5608 aaronmk
                                                                                                                                <taxonlabel>
159 6403 aaronmk
                                                                                                                                    <rank>class</rank>
160
                                                                                                                                    <taxonepithet>$class</taxonepithet>
161 5657 aaronmk
                                                                                                                                    <parent_id>
162
                                                                                                                                        <taxonlabel>
163 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
164
                                                                                                                                            <taxonepithet>$phylum</taxonepithet>
165
                                                                                                                                            <parent_id>
166
                                                                                                                                                <taxonlabel>
167
                                                                                                                                                    <rank>kingdom</rank>
168
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
169
                                                                                                                                                </taxonlabel>
170
                                                                                                                                            </parent_id>
171 5657 aaronmk
                                                                                                                                        </taxonlabel>
172
                                                                                                                                    </parent_id>
173 5608 aaronmk
                                                                                                                                </taxonlabel>
174 5306 aaronmk
                                                                                                                            </parent_id>
175 5608 aaronmk
                                                                                                                        </taxonlabel>
176 5294 aaronmk
                                                                                                                    </parent_id>
177 5608 aaronmk
                                                                                                                </taxonlabel>
178 5294 aaronmk
                                                                                                            </parent_id>
179 5608 aaronmk
                                                                                                        </taxonlabel>
180 5294 aaronmk
                                                                                                    </parent_id>
181 5608 aaronmk
                                                                                                </taxonlabel>
182 5294 aaronmk
                                                                                            </parent_id>
183 5608 aaronmk
                                                                                        </taxonlabel>
184 5294 aaronmk
                                                                                    </parent_id>
185 5608 aaronmk
                                                                                </taxonlabel>
186 5294 aaronmk
                                                                            </parent_id>
187 5608 aaronmk
                                                                        </taxonlabel>
188 5294 aaronmk
                                                                    </parent_id>
189 5608 aaronmk
                                                                </taxonlabel>
190 5294 aaronmk
                                                            </parent_id>
191 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
192 5608 aaronmk
                                                        </taxonlabel>
193 5294 aaronmk
                                                    </parent_id>
194 6403 aaronmk
                                                    <rank>$taxonRank</rank>
195
                                                    <taxonomicname>
196
                                                        <_join_words>
197
                                                            <1>
198
                                                                <_taxon_family_require_std>
199
                                                                    <family>
200
                                                                        <_nullIf>
201
                                                                            <null>$scientificName</null>
202
                                                                            <value>$family</value>
203
                                                                        </_nullIf>
204
                                                                    </family>
205
                                                                </_taxon_family_require_std>
206
                                                            </1>
207 5788 aaronmk
                                                            <2>
208 6403 aaronmk
                                                                <_alt>
209
                                                                    <1>$scientificName</1>
210
                                                                    <2>
211 5657 aaronmk
                                                                        <_join_words>
212 6403 aaronmk
                                                                            <1>
213 5788 aaronmk
                                                                                <_join_words>
214 6403 aaronmk
                                                                                    <2>$genus</2>
215
                                                                                    <3>$specificEpithet</3>
216
                                                                                    <5>
217
                                                                                        <_join_words>
218
                                                                                            <1>
219
                                                                                                <_if name="if has infraspecificEpithet">
220
                                                                                                    <cond>$infraspecificEpithet</cond>
221
                                                                                                    <then>$taxonRank</then>
222
                                                                                                </_if>
223
                                                                                            </1>
224
                                                                                            <2>$infraspecificEpithet</2>
225
                                                                                        </_join_words>
226
                                                                                    </5>
227 5788 aaronmk
                                                                                </_join_words>
228 6403 aaronmk
                                                                            </1>
229
                                                                            <2>$scientificNameAuthorship</2>
230 5657 aaronmk
                                                                        </_join_words>
231 6403 aaronmk
                                                                    </2>
232
                                                                </_alt>
233 5788 aaronmk
                                                            </2>
234 6403 aaronmk
                                                        </_join_words>
235
                                                    </taxonomicname>
236
                                                </taxonlabel>
237
                                            </taxonlabel_id>
238
                                            <author>$scientificNameAuthorship</author>
239
                                            <family>$family</family>
240
                                            <genus>$genus</genus>
241
                                            <specific_epithet>$specificEpithet</specific_epithet>
242
                                            <taxonomicname>$scientificName</taxonomicname>
243
                                            <verbatimrank>$taxonRank</verbatimrank>
244
                                        </taxonverbatim>
245
                                    </taxonverbatim_id>
246
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
247
                                </taxondetermination>
248
                            </taxonoccurrence>
249
                        </locationevent>
250
                        <locationnarrative>
251
                            <_merge>
252
                                <1>$locality</1>
253
                                <3>
254
                                    <_label>
255
                                        <label>habitat</label>
256
                                        <value>$habitat</value>
257
                                    </_label>
258
                                </3>
259
                            </_merge>
260
                        </locationnarrative>
261
                        <locationplace>
262
                            <place_id>
263 5958 aaronmk
                                <place>
264
                                    <coordinates_id>
265
                                        <coordinates>
266 5969 aaronmk
                                            <latitude_deg>
267
                                                <_nullIf>
268
                                                    <null>0</null>
269
                                                    <type>float</type>
270
                                                    <value>$decimalLatitude</value>
271
                                                </_nullIf>
272
                                            </latitude_deg>
273
                                            <longitude_deg>
274
                                                <_nullIf>
275
                                                    <null>0</null>
276
                                                    <type>float</type>
277
                                                    <value>$decimalLongitude</value>
278
                                                </_nullIf>
279
                                            </longitude_deg>
280 5958 aaronmk
                                        </coordinates>
281
                                    </coordinates_id>
282 6403 aaronmk
                                    <continent>$continent</continent>
283 5958 aaronmk
                                    <country>$country</country>
284 6294 aaronmk
                                    <county>$county</county>
285 6403 aaronmk
                                    <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 5958 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
313
                                </place>
314 6403 aaronmk
                            </place_id>
315
                        </locationplace>
316
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
317
                    </location>
318
                </path>
319
            </_simplifyPath>
320 4621 aaronmk
        </path>
321 6403 aaronmk
    </_setDefault>
322 3641 aaronmk
</VegBIEN>
323 6384 aaronmk
Inserted 47 new rows into database