Project

General

Profile

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