Project

General

Profile

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