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 6791 aaronmk
                                                <sourcelist>
81 6403 aaronmk
                                                    <name>$institutionCode</name>
82 6791 aaronmk
                                                    <sourcename>
83 6795 aaronmk
                                                        <name>
84
                                                            <_split>
85
                                                                <separator>, </separator>
86
                                                                <value>$institutionCode</value>
87
                                                            </_split>
88
                                                        </name>
89 6791 aaronmk
                                                    </sourcename>
90
                                                </sourcelist>
91 6403 aaronmk
                                            </institution_id>
92
                                            <sourceaccessioncode>$id</sourceaccessioncode>
93
                                        </specimenreplicate>
94
                                    </plantobservation>
95
                                </aggregateoccurrence>
96
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
97
                                <iscultivated>
98
                                    <_map>
99
                                        <cultivated>t</cultivated>
100
                                        <wild>f</wild>
101
                                        <*></*>
102
                                        <value>$establishmentMeans</value>
103
                                    </_map>
104
                                </iscultivated>
105
                                <isnative>
106
                                    <_map>
107
                                        <native>t</native>
108
                                        <exotic>f</exotic>
109
                                        <*></*>
110
                                        <value>$establishmentMeans</value>
111
                                    </_map>
112
                                </isnative>
113
                                <sourceaccessioncode>$id</sourceaccessioncode>
114
                                <taxondetermination>
115
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
116
                                    <taxonverbatim_id>
117
                                        <taxonverbatim>
118
                                            <taxonlabel_id>
119 6342 aaronmk
                                                <taxonlabel>
120 6403 aaronmk
                                                    <matched_label_id>
121
                                                        <taxonlabel>
122
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
123
                                                            <taxonomicname>
124 7142 aaronmk
                                                                <_merge_prefix>
125
                                                                    <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
126
                                                                    <value>
127 6403 aaronmk
                                                                        <_alt>
128
                                                                            <1>$scientificName</1>
129
                                                                            <2>
130 6342 aaronmk
                                                                                <_join_words>
131 6403 aaronmk
                                                                                    <1>
132 6342 aaronmk
                                                                                        <_join_words>
133 6403 aaronmk
                                                                                            <2>$genus</2>
134
                                                                                            <3>$specificEpithet</3>
135
                                                                                            <5>
136
                                                                                                <_join_words>
137
                                                                                                    <1>
138
                                                                                                        <_if name="if has infraspecificEpithet">
139
                                                                                                            <cond>$infraspecificEpithet</cond>
140
                                                                                                            <then>$taxonRank</then>
141
                                                                                                        </_if>
142
                                                                                                    </1>
143
                                                                                                    <2>$infraspecificEpithet</2>
144
                                                                                                </_join_words>
145
                                                                                            </5>
146 6342 aaronmk
                                                                                        </_join_words>
147 6403 aaronmk
                                                                                    </1>
148
                                                                                    <2>$scientificNameAuthorship</2>
149 6342 aaronmk
                                                                                </_join_words>
150 6403 aaronmk
                                                                            </2>
151
                                                                        </_alt>
152 7142 aaronmk
                                                                    </value>
153
                                                                </_merge_prefix>
154 6403 aaronmk
                                                            </taxonomicname>
155
                                                        </taxonlabel>
156
                                                    </matched_label_id>
157
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
158 6342 aaronmk
                                                    <parent_id>
159
                                                        <taxonlabel>
160 6403 aaronmk
                                                            <rank>$taxonRank</rank>
161 6342 aaronmk
                                                            <parent_id>
162
                                                                <taxonlabel>
163 6403 aaronmk
                                                                    <rank>cultivar</rank>
164 6342 aaronmk
                                                                    <parent_id>
165
                                                                        <taxonlabel>
166 6403 aaronmk
                                                                            <rank>forma</rank>
167 6342 aaronmk
                                                                            <parent_id>
168
                                                                                <taxonlabel>
169 6403 aaronmk
                                                                                    <rank>variety</rank>
170 6342 aaronmk
                                                                                    <parent_id>
171
                                                                                        <taxonlabel>
172 6403 aaronmk
                                                                                            <rank>subspecies</rank>
173 6342 aaronmk
                                                                                            <parent_id>
174
                                                                                                <taxonlabel>
175 6403 aaronmk
                                                                                                    <rank>species</rank>
176
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
177 6342 aaronmk
                                                                                                    <parent_id>
178
                                                                                                        <taxonlabel>
179 6403 aaronmk
                                                                                                            <rank>genus</rank>
180
                                                                                                            <taxonepithet>$genus</taxonepithet>
181 6342 aaronmk
                                                                                                            <parent_id>
182
                                                                                                                <taxonlabel>
183 6403 aaronmk
                                                                                                                    <rank>family</rank>
184
                                                                                                                    <taxonepithet>$family</taxonepithet>
185 6342 aaronmk
                                                                                                                    <parent_id>
186
                                                                                                                        <taxonlabel>
187 6403 aaronmk
                                                                                                                            <rank>order</rank>
188 6342 aaronmk
                                                                                                                            <parent_id>
189
                                                                                                                                <taxonlabel>
190 6403 aaronmk
                                                                                                                                    <rank>class</rank>
191 6342 aaronmk
                                                                                                                                    <parent_id>
192
                                                                                                                                        <taxonlabel>
193 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
194
                                                                                                                                            <parent_id>
195
                                                                                                                                                <taxonlabel>
196
                                                                                                                                                    <rank>kingdom</rank>
197
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
198
                                                                                                                                                </taxonlabel>
199
                                                                                                                                            </parent_id>
200 6342 aaronmk
                                                                                                                                        </taxonlabel>
201
                                                                                                                                    </parent_id>
202
                                                                                                                                </taxonlabel>
203
                                                                                                                            </parent_id>
204
                                                                                                                        </taxonlabel>
205
                                                                                                                    </parent_id>
206
                                                                                                                </taxonlabel>
207
                                                                                                            </parent_id>
208
                                                                                                        </taxonlabel>
209
                                                                                                    </parent_id>
210
                                                                                                </taxonlabel>
211
                                                                                            </parent_id>
212
                                                                                        </taxonlabel>
213
                                                                                    </parent_id>
214
                                                                                </taxonlabel>
215
                                                                            </parent_id>
216
                                                                        </taxonlabel>
217
                                                                    </parent_id>
218
                                                                </taxonlabel>
219
                                                            </parent_id>
220 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
221 6342 aaronmk
                                                        </taxonlabel>
222
                                                    </parent_id>
223 6403 aaronmk
                                                    <rank>$taxonRank</rank>
224
                                                    <taxonomicname>
225 7142 aaronmk
                                                        <_merge_prefix>
226
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
227
                                                            <value>
228 6403 aaronmk
                                                                <_alt>
229
                                                                    <1>$scientificName</1>
230
                                                                    <2>
231 6342 aaronmk
                                                                        <_join_words>
232 6403 aaronmk
                                                                            <1>
233 6342 aaronmk
                                                                                <_join_words>
234 6403 aaronmk
                                                                                    <2>$genus</2>
235
                                                                                    <3>$specificEpithet</3>
236
                                                                                    <5>
237
                                                                                        <_join_words>
238
                                                                                            <1>
239
                                                                                                <_if name="if has infraspecificEpithet">
240
                                                                                                    <cond>$infraspecificEpithet</cond>
241
                                                                                                    <then>$taxonRank</then>
242
                                                                                                </_if>
243
                                                                                            </1>
244
                                                                                            <2>$infraspecificEpithet</2>
245
                                                                                        </_join_words>
246
                                                                                    </5>
247 6342 aaronmk
                                                                                </_join_words>
248 6403 aaronmk
                                                                            </1>
249
                                                                            <2>$scientificNameAuthorship</2>
250 6342 aaronmk
                                                                        </_join_words>
251 6403 aaronmk
                                                                    </2>
252
                                                                </_alt>
253 7142 aaronmk
                                                            </value>
254
                                                        </_merge_prefix>
255 6403 aaronmk
                                                    </taxonomicname>
256
                                                </taxonlabel>
257
                                            </taxonlabel_id>
258
                                            <author>$scientificNameAuthorship</author>
259
                                            <family>$family</family>
260
                                            <genus>$genus</genus>
261
                                            <specific_epithet>$specificEpithet</specific_epithet>
262
                                            <taxonomicname>$scientificName</taxonomicname>
263
                                            <verbatimrank>$taxonRank</verbatimrank>
264
                                        </taxonverbatim>
265
                                    </taxonverbatim_id>
266
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
267
                                    <taxonfit>$identificationQualifier</taxonfit>
268
                                </taxondetermination>
269
                            </taxonoccurrence>
270
                        </locationevent>
271
                        <locationnarrative>
272
                            <_merge>
273
                                <1>$locality</1>
274
                                <3>
275
                                    <_label>
276
                                        <label>habitat</label>
277
                                        <value>$habitat</value>
278
                                    </_label>
279
                                </3>
280
                            </_merge>
281
                        </locationnarrative>
282
                        <locationplace>
283
                            <place_id>
284 6342 aaronmk
                                <place>
285
                                    <coordinates_id>
286
                                        <coordinates>
287 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
288 6342 aaronmk
                                            <latitude_deg>
289
                                                <_nullIf>
290
                                                    <null>0</null>
291
                                                    <type>float</type>
292
                                                    <value>$decimalLatitude</value>
293
                                                </_nullIf>
294
                                            </latitude_deg>
295
                                            <longitude_deg>
296
                                                <_nullIf>
297
                                                    <null>0</null>
298
                                                    <type>float</type>
299
                                                    <value>$decimalLongitude</value>
300
                                                </_nullIf>
301
                                            </longitude_deg>
302 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
303 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
304
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
305 6342 aaronmk
                                        </coordinates>
306
                                    </coordinates_id>
307 6403 aaronmk
                                    <continent>$continent</continent>
308 6342 aaronmk
                                    <country>$country</country>
309
                                    <county>$county</county>
310 6403 aaronmk
                                    <matched_place_id>
311
                                        <place>
312
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
313
                                            <coordinates_id>
314
                                                <coordinates>
315
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
316
                                                    <latitude_deg>
317
                                                        <_nullIf>
318
                                                            <null>0</null>
319
                                                            <type>float</type>
320
                                                            <value>$decimalLatitude</value>
321
                                                        </_nullIf>
322
                                                    </latitude_deg>
323
                                                    <longitude_deg>
324
                                                        <_nullIf>
325
                                                            <null>0</null>
326
                                                            <type>float</type>
327
                                                            <value>$decimalLongitude</value>
328
                                                        </_nullIf>
329
                                                    </longitude_deg>
330
                                                </coordinates>
331
                                            </coordinates_id>
332
                                            <country>$country</country>
333
                                            <county>$county</county>
334
                                            <stateprovince>$stateProvince</stateprovince>
335
                                        </place>
336
                                    </matched_place_id>
337 6342 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
338
                                </place>
339 6403 aaronmk
                            </place_id>
340
                        </locationplace>
341
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
342
                    </location>
343
                </path>
344
            </_simplifyPath>
345 6342 aaronmk
        </path>
346 6403 aaronmk
    </_setDefault>
347 6342 aaronmk
</VegBIEN>
348 7157 aaronmk
Inserted 41 new rows into database