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 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 6344 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 6344 aaronmk
                                                                    <2>
94 6403 aaronmk
                                                                        <_alt>
95
                                                                            <1>$scientificName</1>
96
                                                                            <2>
97 6344 aaronmk
                                                                                <_join_words>
98 6403 aaronmk
                                                                                    <1>
99 6344 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 6344 aaronmk
                                                                                        </_join_words>
114 6403 aaronmk
                                                                                    </1>
115
                                                                                    <2>$scientificNameAuthorship</2>
116 6344 aaronmk
                                                                                </_join_words>
117 6403 aaronmk
                                                                            </2>
118
                                                                        </_alt>
119 6344 aaronmk
                                                                    </2>
120 6403 aaronmk
                                                                </_join_words>
121
                                                            </taxonomicname>
122
                                                        </taxonlabel>
123
                                                    </matched_label_id>
124
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
125 6344 aaronmk
                                                    <parent_id>
126
                                                        <taxonlabel>
127 6403 aaronmk
                                                            <rank>$taxonRank</rank>
128
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
129 6344 aaronmk
                                                            <parent_id>
130
                                                                <taxonlabel>
131 6403 aaronmk
                                                                    <rank>cultivar</rank>
132 6344 aaronmk
                                                                    <parent_id>
133
                                                                        <taxonlabel>
134 6403 aaronmk
                                                                            <rank>forma</rank>
135 6344 aaronmk
                                                                            <parent_id>
136
                                                                                <taxonlabel>
137 6403 aaronmk
                                                                                    <rank>variety</rank>
138 6344 aaronmk
                                                                                    <parent_id>
139
                                                                                        <taxonlabel>
140 6403 aaronmk
                                                                                            <rank>subspecies</rank>
141 6344 aaronmk
                                                                                            <parent_id>
142
                                                                                                <taxonlabel>
143 6403 aaronmk
                                                                                                    <rank>species</rank>
144
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
145 6344 aaronmk
                                                                                                    <parent_id>
146
                                                                                                        <taxonlabel>
147 6403 aaronmk
                                                                                                            <rank>genus</rank>
148
                                                                                                            <taxonepithet>$genus</taxonepithet>
149 6344 aaronmk
                                                                                                            <parent_id>
150
                                                                                                                <taxonlabel>
151 6403 aaronmk
                                                                                                                    <rank>family</rank>
152
                                                                                                                    <taxonepithet>$family</taxonepithet>
153 6344 aaronmk
                                                                                                                    <parent_id>
154
                                                                                                                        <taxonlabel>
155 6403 aaronmk
                                                                                                                            <rank>order</rank>
156 6344 aaronmk
                                                                                                                            <parent_id>
157
                                                                                                                                <taxonlabel>
158 6403 aaronmk
                                                                                                                                    <rank>class</rank>
159 6344 aaronmk
                                                                                                                                    <parent_id>
160
                                                                                                                                        <taxonlabel>
161 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
162
                                                                                                                                            <parent_id>
163
                                                                                                                                                <taxonlabel>
164
                                                                                                                                                    <rank>kingdom</rank>
165
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
166
                                                                                                                                                </taxonlabel>
167
                                                                                                                                            </parent_id>
168 6344 aaronmk
                                                                                                                                        </taxonlabel>
169
                                                                                                                                    </parent_id>
170
                                                                                                                                </taxonlabel>
171
                                                                                                                            </parent_id>
172
                                                                                                                        </taxonlabel>
173
                                                                                                                    </parent_id>
174
                                                                                                                </taxonlabel>
175
                                                                                                            </parent_id>
176
                                                                                                        </taxonlabel>
177
                                                                                                    </parent_id>
178
                                                                                                </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 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
189 6344 aaronmk
                                                        </taxonlabel>
190
                                                    </parent_id>
191 6403 aaronmk
                                                    <rank>$taxonRank</rank>
192
                                                    <taxonomicname>
193
                                                        <_join_words>
194
                                                            <1>
195
                                                                <_taxon_family_require_std>
196
                                                                    <family>
197
                                                                        <_nullIf>
198
                                                                            <null>$scientificName</null>
199
                                                                            <value>$family</value>
200
                                                                        </_nullIf>
201
                                                                    </family>
202
                                                                </_taxon_family_require_std>
203
                                                            </1>
204 6344 aaronmk
                                                            <2>
205 6403 aaronmk
                                                                <_alt>
206
                                                                    <1>$scientificName</1>
207
                                                                    <2>
208 6344 aaronmk
                                                                        <_join_words>
209 6403 aaronmk
                                                                            <1>
210 6344 aaronmk
                                                                                <_join_words>
211 6403 aaronmk
                                                                                    <2>$genus</2>
212
                                                                                    <3>$specificEpithet</3>
213
                                                                                    <5>
214
                                                                                        <_join_words>
215
                                                                                            <1>
216
                                                                                                <_if name="if has infraspecificEpithet">
217
                                                                                                    <cond>$infraspecificEpithet</cond>
218
                                                                                                    <then>$taxonRank</then>
219
                                                                                                </_if>
220
                                                                                            </1>
221
                                                                                            <2>$infraspecificEpithet</2>
222
                                                                                        </_join_words>
223
                                                                                    </5>
224 6344 aaronmk
                                                                                </_join_words>
225 6403 aaronmk
                                                                            </1>
226
                                                                            <2>$scientificNameAuthorship</2>
227 6344 aaronmk
                                                                        </_join_words>
228 6403 aaronmk
                                                                    </2>
229
                                                                </_alt>
230 6344 aaronmk
                                                            </2>
231 6403 aaronmk
                                                        </_join_words>
232
                                                    </taxonomicname>
233
                                                </taxonlabel>
234
                                            </taxonlabel_id>
235
                                            <author>$scientificNameAuthorship</author>
236
                                            <family>$family</family>
237
                                            <genus>$genus</genus>
238
                                            <specific_epithet>$specificEpithet</specific_epithet>
239
                                            <taxonomicname>$scientificName</taxonomicname>
240
                                            <verbatimrank>$taxonRank</verbatimrank>
241
                                        </taxonverbatim>
242
                                    </taxonverbatim_id>
243
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
244
                                </taxondetermination>
245
                            </taxonoccurrence>
246
                        </locationevent>
247
                        <locationnarrative>
248
                            <_merge>
249
                                <1>$locality</1>
250
                                <3>
251
                                    <_label>
252
                                        <label>habitat</label>
253
                                        <value>$habitat</value>
254
                                    </_label>
255
                                </3>
256
                            </_merge>
257
                        </locationnarrative>
258
                        <locationplace>
259
                            <place_id>
260 6344 aaronmk
                                <place>
261
                                    <coordinates_id>
262
                                        <coordinates>
263
                                            <latitude_deg>
264
                                                <_nullIf>
265
                                                    <null>0</null>
266
                                                    <type>float</type>
267
                                                    <value>$decimalLatitude</value>
268
                                                </_nullIf>
269
                                            </latitude_deg>
270
                                            <longitude_deg>
271
                                                <_nullIf>
272
                                                    <null>0</null>
273
                                                    <type>float</type>
274
                                                    <value>$decimalLongitude</value>
275
                                                </_nullIf>
276
                                            </longitude_deg>
277 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
278 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
279
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
280 6344 aaronmk
                                        </coordinates>
281
                                    </coordinates_id>
282
                                    <country>$country</country>
283
                                    <county>$county</county>
284 6403 aaronmk
                                    <matched_place_id>
285
                                        <place>
286
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
287
                                            <coordinates_id>
288
                                                <coordinates>
289
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
290
                                                    <latitude_deg>
291
                                                        <_nullIf>
292
                                                            <null>0</null>
293
                                                            <type>float</type>
294
                                                            <value>$decimalLatitude</value>
295
                                                        </_nullIf>
296
                                                    </latitude_deg>
297
                                                    <longitude_deg>
298
                                                        <_nullIf>
299
                                                            <null>0</null>
300
                                                            <type>float</type>
301
                                                            <value>$decimalLongitude</value>
302
                                                        </_nullIf>
303
                                                    </longitude_deg>
304
                                                </coordinates>
305
                                            </coordinates_id>
306
                                            <country>$country</country>
307
                                            <county>$county</county>
308
                                            <stateprovince>$stateProvince</stateprovince>
309
                                        </place>
310
                                    </matched_place_id>
311 6344 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
312
                                </place>
313 6403 aaronmk
                            </place_id>
314
                        </locationplace>
315
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
316
                    </location>
317
                </path>
318
            </_simplifyPath>
319 6344 aaronmk
        </path>
320 6403 aaronmk
    </_setDefault>
321 6344 aaronmk
</VegBIEN>
322 6384 aaronmk
Inserted 35 new rows into database