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
                        <elevation_m>
28
                            <_alt>
29
                                <1>
30
                                    <_units>
31
                                        <to>m</to>
32
                                        <to></to>
33
                                        <value>$verbatimElevation</value>
34
                                    </_units>
35
                                </1>
36
                                <2>
37
                                    <_avg>
38
                                        <max>$maximumElevationInMeters</max>
39
                                        <min>$minimumElevationInMeters</min>
40
                                    </_avg>
41
                                </2>
42
                            </_alt>
43
                        </elevation_m>
44
                        <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
                                        <definedvalue fkey="tablerecord_id">
52
                                            <userdefined_id>
53
                                                <userdefined>
54
                                                    <tablename>plantobservation</tablename>
55
                                                    <userdefinedname>sex</userdefinedname>
56
                                                </userdefined>
57
                                            </userdefined_id>
58
                                            <definedvalue>$sex</definedvalue>
59
                                        </definedvalue>
60
                                        <specimenreplicate>
61
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
62
                                            <collectioncode_dwc>
63
                                                <_join>
64
                                                    <1>$collectionCode</1>
65
                                                    <2>$collectionID</2>
66
                                                </_join>
67
                                            </collectioncode_dwc>
68
                                            <institution_id>
69
                                                <sourcename>
70
                                                    <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
71
                                                    <name>$institutionCode</name>
72
                                                </sourcename>
73
                                            </institution_id>
74
                                            <sourceaccessioncode>$id</sourceaccessioncode>
75
                                        </specimenreplicate>
76
                                    </plantobservation>
77
                                </aggregateoccurrence>
78
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
79
                                <iscultivated>
80
                                    <_map>
81
                                        <cultivated>t</cultivated>
82
                                        <wild>f</wild>
83
                                        <*></*>
84
                                        <value>$establishmentMeans</value>
85
                                    </_map>
86
                                </iscultivated>
87
                                <isnative>
88
                                    <_map>
89
                                        <native>t</native>
90
                                        <exotic>f</exotic>
91
                                        <*></*>
92
                                        <value>$establishmentMeans</value>
93
                                    </_map>
94
                                </isnative>
95
                                <sourceaccessioncode>$id</sourceaccessioncode>
96
                                <taxondetermination>
97
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
98
                                    <taxonverbatim_id>
99
                                        <taxonverbatim>
100
                                            <taxonlabel_id>
101 6342 aaronmk
                                                <taxonlabel>
102 6403 aaronmk
                                                    <matched_label_id>
103
                                                        <taxonlabel>
104
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
105
                                                            <taxonomicname>
106
                                                                <_join_words>
107
                                                                    <1>
108
                                                                        <_taxon_family_require_std>
109
                                                                            <family>
110
                                                                                <_nullIf>
111
                                                                                    <null>$scientificName</null>
112
                                                                                    <value>$family</value>
113
                                                                                </_nullIf>
114
                                                                            </family>
115
                                                                        </_taxon_family_require_std>
116
                                                                    </1>
117 6342 aaronmk
                                                                    <2>
118 6403 aaronmk
                                                                        <_alt>
119
                                                                            <1>$scientificName</1>
120
                                                                            <2>
121 6342 aaronmk
                                                                                <_join_words>
122 6403 aaronmk
                                                                                    <1>
123 6342 aaronmk
                                                                                        <_join_words>
124 6403 aaronmk
                                                                                            <2>$genus</2>
125
                                                                                            <3>$specificEpithet</3>
126
                                                                                            <5>
127
                                                                                                <_join_words>
128
                                                                                                    <1>
129
                                                                                                        <_if name="if has infraspecificEpithet">
130
                                                                                                            <cond>$infraspecificEpithet</cond>
131
                                                                                                            <then>$taxonRank</then>
132
                                                                                                        </_if>
133
                                                                                                    </1>
134
                                                                                                    <2>$infraspecificEpithet</2>
135
                                                                                                </_join_words>
136
                                                                                            </5>
137 6342 aaronmk
                                                                                        </_join_words>
138 6403 aaronmk
                                                                                    </1>
139
                                                                                    <2>$scientificNameAuthorship</2>
140 6342 aaronmk
                                                                                </_join_words>
141 6403 aaronmk
                                                                            </2>
142
                                                                        </_alt>
143 6342 aaronmk
                                                                    </2>
144 6403 aaronmk
                                                                </_join_words>
145
                                                            </taxonomicname>
146
                                                        </taxonlabel>
147
                                                    </matched_label_id>
148
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
149 6342 aaronmk
                                                    <parent_id>
150
                                                        <taxonlabel>
151 6403 aaronmk
                                                            <rank>$taxonRank</rank>
152
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
153 6342 aaronmk
                                                            <parent_id>
154
                                                                <taxonlabel>
155 6403 aaronmk
                                                                    <rank>cultivar</rank>
156 6342 aaronmk
                                                                    <parent_id>
157
                                                                        <taxonlabel>
158 6403 aaronmk
                                                                            <rank>forma</rank>
159 6342 aaronmk
                                                                            <parent_id>
160
                                                                                <taxonlabel>
161 6403 aaronmk
                                                                                    <rank>variety</rank>
162 6342 aaronmk
                                                                                    <parent_id>
163
                                                                                        <taxonlabel>
164 6403 aaronmk
                                                                                            <rank>subspecies</rank>
165 6342 aaronmk
                                                                                            <parent_id>
166
                                                                                                <taxonlabel>
167 6403 aaronmk
                                                                                                    <rank>species</rank>
168
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
169 6342 aaronmk
                                                                                                    <parent_id>
170
                                                                                                        <taxonlabel>
171 6403 aaronmk
                                                                                                            <rank>genus</rank>
172
                                                                                                            <taxonepithet>$genus</taxonepithet>
173 6342 aaronmk
                                                                                                            <parent_id>
174
                                                                                                                <taxonlabel>
175 6403 aaronmk
                                                                                                                    <rank>family</rank>
176
                                                                                                                    <taxonepithet>$family</taxonepithet>
177 6342 aaronmk
                                                                                                                    <parent_id>
178
                                                                                                                        <taxonlabel>
179 6403 aaronmk
                                                                                                                            <rank>order</rank>
180 6342 aaronmk
                                                                                                                            <parent_id>
181
                                                                                                                                <taxonlabel>
182 6403 aaronmk
                                                                                                                                    <rank>class</rank>
183 6342 aaronmk
                                                                                                                                    <parent_id>
184
                                                                                                                                        <taxonlabel>
185 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
186
                                                                                                                                            <parent_id>
187
                                                                                                                                                <taxonlabel>
188
                                                                                                                                                    <rank>kingdom</rank>
189
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
190
                                                                                                                                                </taxonlabel>
191
                                                                                                                                            </parent_id>
192 6342 aaronmk
                                                                                                                                        </taxonlabel>
193
                                                                                                                                    </parent_id>
194
                                                                                                                                </taxonlabel>
195
                                                                                                                            </parent_id>
196
                                                                                                                        </taxonlabel>
197
                                                                                                                    </parent_id>
198
                                                                                                                </taxonlabel>
199
                                                                                                            </parent_id>
200
                                                                                                        </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 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
213 6342 aaronmk
                                                        </taxonlabel>
214
                                                    </parent_id>
215 6403 aaronmk
                                                    <rank>$taxonRank</rank>
216
                                                    <taxonomicname>
217
                                                        <_join_words>
218
                                                            <1>
219
                                                                <_taxon_family_require_std>
220
                                                                    <family>
221
                                                                        <_nullIf>
222
                                                                            <null>$scientificName</null>
223
                                                                            <value>$family</value>
224
                                                                        </_nullIf>
225
                                                                    </family>
226
                                                                </_taxon_family_require_std>
227
                                                            </1>
228 6342 aaronmk
                                                            <2>
229 6403 aaronmk
                                                                <_alt>
230
                                                                    <1>$scientificName</1>
231
                                                                    <2>
232 6342 aaronmk
                                                                        <_join_words>
233 6403 aaronmk
                                                                            <1>
234 6342 aaronmk
                                                                                <_join_words>
235 6403 aaronmk
                                                                                    <2>$genus</2>
236
                                                                                    <3>$specificEpithet</3>
237
                                                                                    <5>
238
                                                                                        <_join_words>
239
                                                                                            <1>
240
                                                                                                <_if name="if has infraspecificEpithet">
241
                                                                                                    <cond>$infraspecificEpithet</cond>
242
                                                                                                    <then>$taxonRank</then>
243
                                                                                                </_if>
244
                                                                                            </1>
245
                                                                                            <2>$infraspecificEpithet</2>
246
                                                                                        </_join_words>
247
                                                                                    </5>
248 6342 aaronmk
                                                                                </_join_words>
249 6403 aaronmk
                                                                            </1>
250
                                                                            <2>$scientificNameAuthorship</2>
251 6342 aaronmk
                                                                        </_join_words>
252 6403 aaronmk
                                                                    </2>
253
                                                                </_alt>
254 6342 aaronmk
                                                            </2>
255 6403 aaronmk
                                                        </_join_words>
256
                                                    </taxonomicname>
257
                                                </taxonlabel>
258
                                            </taxonlabel_id>
259
                                            <author>$scientificNameAuthorship</author>
260
                                            <family>$family</family>
261
                                            <genus>$genus</genus>
262
                                            <specific_epithet>$specificEpithet</specific_epithet>
263
                                            <taxonomicname>$scientificName</taxonomicname>
264
                                            <verbatimrank>$taxonRank</verbatimrank>
265
                                        </taxonverbatim>
266
                                    </taxonverbatim_id>
267
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
268
                                    <taxonfit>$identificationQualifier</taxonfit>
269
                                </taxondetermination>
270
                            </taxonoccurrence>
271
                        </locationevent>
272
                        <locationnarrative>
273
                            <_merge>
274
                                <1>$locality</1>
275
                                <3>
276
                                    <_label>
277
                                        <label>habitat</label>
278
                                        <value>$habitat</value>
279
                                    </_label>
280
                                </3>
281
                            </_merge>
282
                        </locationnarrative>
283
                        <locationplace>
284
                            <place_id>
285 6342 aaronmk
                                <place>
286
                                    <coordinates_id>
287
                                        <coordinates>
288 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
289 6342 aaronmk
                                            <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 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 6384 aaronmk
Inserted 43 new rows into database